diff options
Diffstat (limited to 'test/Index/t2.c')
-rw-r--r-- | test/Index/t2.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Index/t2.c b/test/Index/t2.c new file mode 100644 index 0000000..bf52869 --- /dev/null +++ b/test/Index/t2.c @@ -0,0 +1,14 @@ +#include "foo.h" + +int global_var = 10; + +void bar_func(void) { + global_var += 100; + foo_func(global_var); + + struct MyStruct *ms; + ms->field_var = 10; +} + +// Suppress 'no run line' failure. +// RUN: true |