diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-20 13:11:19 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-20 13:11:19 +0000 |
commit | af8b76d0a83813b3cebac7468db4bd64e534c235 (patch) | |
tree | e387cec775526f4b0eaea5ab333baf0ae5afdb0b /c_compiler/test | |
parent | b0caad48b1a2c90a03f5d130a50f3fdee1c097a5 (diff) | |
download | Compiler-af8b76d0a83813b3cebac7468db4bd64e534c235.tar.gz Compiler-af8b76d0a83813b3cebac7468db4bd64e534c235.zip |
global vars work and changing to printf
Diffstat (limited to 'c_compiler/test')
-rw-r--r-- | c_compiler/test/in/global.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c_compiler/test/in/global.c b/c_compiler/test/in/global.c new file mode 100644 index 0000000..da59c9f --- /dev/null +++ b/c_compiler/test/in/global.c @@ -0,0 +1,6 @@ +int x = 3 + 4; + +int main() +{ + return x; +} |