diff options
Diffstat (limited to 'c_parser/test/test_parser.c')
-rw-r--r-- | c_parser/test/test_parser.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/c_parser/test/test_parser.c b/c_parser/test/test_parser.c index d894c23..55a15b7 100644 --- a/c_parser/test/test_parser.c +++ b/c_parser/test/test_parser.c @@ -5,4 +5,12 @@ int yann, is, the, best; int d = 0; int hello = 122, asd = 123; -int f(int i, int b, int c, int d); +int f(int i, int b, int c, int d) { + int a; +} + +int func(int asd, int b) { + int a, b, c; + int c = 0; + int d; +} |