aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/test')
-rw-r--r--c_compiler/test/in/global.c6
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;
+}