aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/in/SimpleAdd.c
diff options
context:
space:
mode:
authorymherklotz <ymherklotz@gmail.com>2017-03-10 20:24:02 +0000
committerymherklotz <ymherklotz@gmail.com>2017-03-10 20:24:02 +0000
commit545ce63f17eed12c193690868ce6344e7a497c91 (patch)
treed325b9504aade9487c8d982a5e3600ac43b8be2c /c_compiler/test/in/SimpleAdd.c
parenta6fa6da5de8252a205e000dd7acc2589735aa55c (diff)
downloadCompiler-545ce63f17eed12c193690868ce6344e7a497c91.tar.gz
Compiler-545ce63f17eed12c193690868ce6344e7a497c91.zip
Adding test cases
Diffstat (limited to 'c_compiler/test/in/SimpleAdd.c')
-rw-r--r--c_compiler/test/in/SimpleAdd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/c_compiler/test/in/SimpleAdd.c b/c_compiler/test/in/SimpleAdd.c
new file mode 100644
index 0000000..a04941d
--- /dev/null
+++ b/c_compiler/test/in/SimpleAdd.c
@@ -0,0 +1,5 @@
+int main() {
+ int a = 68;
+ int b = 38;
+ return a + b;
+}