summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/main.c
blob: 8bebb9455a6145a903e8a8e867fee2dc4144aae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//===-- main.c --------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

int main (int argc, char const *argv[])
{
    // Add a body to the function, so we can set more than one
    // breakpoint in it.
    static volatile int var = 0;
    var++;
    return 0; // Set break point at this line.
}