aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/in/AddSubScope/SimpleAdd.c
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-10 22:11:04 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-10 22:11:04 +0000
commit27134d31ce42631fca12295f4064d55de8dfdee8 (patch)
tree1610ad24f7f83e85b4349f214b1d754aa1b93ab6 /c_compiler/test/in/AddSubScope/SimpleAdd.c
parenta6addb3eb3b5378dc17d9ea7bf066962517fbfbe (diff)
downloadCompiler-27134d31ce42631fca12295f4064d55de8dfdee8.tar.gz
Compiler-27134d31ce42631fca12295f4064d55de8dfdee8.zip
moved test cases
Diffstat (limited to 'c_compiler/test/in/AddSubScope/SimpleAdd.c')
-rw-r--r--c_compiler/test/in/AddSubScope/SimpleAdd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/c_compiler/test/in/AddSubScope/SimpleAdd.c b/c_compiler/test/in/AddSubScope/SimpleAdd.c
new file mode 100644
index 0000000..a04941d
--- /dev/null
+++ b/c_compiler/test/in/AddSubScope/SimpleAdd.c
@@ -0,0 +1,5 @@
+int main() {
+ int a = 68;
+ int b = 38;
+ return a + b;
+}