summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/tools/lldb-mi/control/main.cpp
blob: 03f5b85ed3858b10eea054280a2ab5466ca3fdbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//===-- main.cpp ------------------------------------------------*- 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
//
//===----------------------------------------------------------------------===//

#include <cstdio>

void
g_MyFunction(void)
{
    printf("g_MyFunction");
}

static void
s_MyFunction(void)
{
    g_MyFunction();
    printf("s_MyFunction");
}

int
main(int argc, char const *argv[])
{
    printf("start");
    g_MyFunction();
    s_MyFunction();
    printf("exit");
    return 0;
}