diff options
Diffstat (limited to 'c_parser/test/in/10.c')
-rw-r--r-- | c_parser/test/in/10.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/c_parser/test/in/10.c b/c_parser/test/in/10.c new file mode 100644 index 0000000..37a6ecc --- /dev/null +++ b/c_parser/test/in/10.c @@ -0,0 +1,18 @@ +int f() +{} + +int g = 2; + +int x(int y) { + int z = 3; + + if(y < z || g < z) { + int r; + ++y; + } else if(y == z) { + int f; + --y; + } else return y; + + return g; +} |