[NFC][AArch64] move AArch64 non auto-generated tests to static file (#126312)
[llvm-project.git] / lldb / test / API / commands / expression / weak_symbols / main.c
blob5ea257bae5b9c7edaa0a7921f5d2619f473608d3
1 #include "dylib.h"
2 #include <stdio.h>
4 int
5 doSomething()
7 // Set a breakpoint here.
8 if (&absent_weak_int != NULL)
9 printf("In absent_weak_int: %d\n", absent_weak_int);
10 if (absent_weak_function != NULL)
11 printf("In absent_weak_func: %p\n", absent_weak_function);
12 if (&present_weak_int != NULL)
13 printf("In present_weak_int: %d\n", present_weak_int);
14 if (present_weak_function != NULL)
15 printf("In present_weak_func: %p\n", present_weak_function);
19 int
20 main()
22 return doSomething();