aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/in/SimpleScope.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/test/in/SimpleScope.c')
-rw-r--r--c_compiler/test/in/SimpleScope.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/c_compiler/test/in/SimpleScope.c b/c_compiler/test/in/SimpleScope.c
new file mode 100644
index 0000000..85294a1
--- /dev/null
+++ b/c_compiler/test/in/SimpleScope.c
@@ -0,0 +1,7 @@
+int main() {
+ int x = 23;
+ {
+ x = 123;
+ }
+ return x;
+}