aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/in/AddMult.c
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-18 14:50:45 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-18 14:50:45 +0000
commit1e68e77f3119c2558aceb2837eb1e25111eedab9 (patch)
tree047a2eeaa92b626279e7f1cb5eb24788c0db0b3c /c_compiler/test/in/AddMult.c
parent835458c3b1f055c2d2548c002120f73bb46877cc (diff)
downloadCompiler-1e68e77f3119c2558aceb2837eb1e25111eedab9.tar.gz
Compiler-1e68e77f3119c2558aceb2837eb1e25111eedab9.zip
Made test cases a bit better
Diffstat (limited to 'c_compiler/test/in/AddMult.c')
-rw-r--r--c_compiler/test/in/AddMult.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/c_compiler/test/in/AddMult.c b/c_compiler/test/in/AddMult.c
deleted file mode 100644
index 92403bc..0000000
--- a/c_compiler/test/in/AddMult.c
+++ /dev/null
@@ -1,11 +0,0 @@
-int main() {
- int x;
- int a = 8;
- int b = 5;
- int c = 7;
- int d = 3;
- x = a * b + c * d - d / 3 + 2;
- x = c - 2 * b + 3 / d - 5 * d;
-
- return x;
-}