diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-10 22:11:04 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-10 22:11:04 +0000 |
commit | 27134d31ce42631fca12295f4064d55de8dfdee8 (patch) | |
tree | 1610ad24f7f83e85b4349f214b1d754aa1b93ab6 /c_compiler/test/in/AddSubScope/SimpleShadowing.c | |
parent | a6addb3eb3b5378dc17d9ea7bf066962517fbfbe (diff) | |
download | Compiler-27134d31ce42631fca12295f4064d55de8dfdee8.tar.gz Compiler-27134d31ce42631fca12295f4064d55de8dfdee8.zip |
moved test cases
Diffstat (limited to 'c_compiler/test/in/AddSubScope/SimpleShadowing.c')
-rw-r--r-- | c_compiler/test/in/AddSubScope/SimpleShadowing.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c_compiler/test/in/AddSubScope/SimpleShadowing.c b/c_compiler/test/in/AddSubScope/SimpleShadowing.c new file mode 100644 index 0000000..927afce --- /dev/null +++ b/c_compiler/test/in/AddSubScope/SimpleShadowing.c @@ -0,0 +1,8 @@ +int main() { + int x = 12; + { + int x = 39; + } + + return x; +} |