xref: /llvm-project/lldb/test/API/commands/expression/weak_symbols/dylib.c (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 #include "dylib.h"
2 
3 int present_weak_int = 10;
present_weak_function()4 int present_weak_function()
5 {
6   return present_weak_int;
7 }
8 
9 #if defined HAS_THEM
10 int absent_weak_int = 10;
absent_weak_function()11 int absent_weak_function() {
12   return absent_weak_int;
13 }
14 #endif
15