summaryrefslogtreecommitdiffstats
path: root/packages/Python/lldbsuite/test/tools/lldb-mi/control/main.cpp
blob: ae0c3d9800a7bc98667fd333753bb93da567a911 (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
33
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#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;
}
OpenPOWER on IntegriCloud