diff options
Diffstat (limited to 'lldb/test/lang/c/const_variables/main.c')
-rw-r--r-- | lldb/test/lang/c/const_variables/main.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lldb/test/lang/c/const_variables/main.c b/lldb/test/lang/c/const_variables/main.c new file mode 100644 index 00000000000..086fa6f0fab --- /dev/null +++ b/lldb/test/lang/c/const_variables/main.c @@ -0,0 +1,19 @@ +#include <stdint.h> + +extern int foo(); +extern int bar(); +extern int baaz(int i); + +int main() +{ + int32_t index; + + foo(); + + index = 512; + + if (bar()) + index = 256; + + baaz(index); +} |