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