aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/load_unload/a.cpp
blob: 1842506bf7b851f13e1c944c661f48b946aaa228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern LLDB_DYLIB_IMPORT int b_function();

int a_init()
{
    return 234;
}

int a_global = a_init();

extern "C" int
a_function ()
{
    return b_function ();
}