aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/49_decl_in_defn.sy
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/49_decl_in_defn.sy')
-rw-r--r--tests/functional/49_decl_in_defn.sy7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/49_decl_in_defn.sy b/tests/functional/49_decl_in_defn.sy
new file mode 100644
index 0000000..663bec0
--- /dev/null
+++ b/tests/functional/49_decl_in_defn.sy
@@ -0,0 +1,7 @@
+int main () {
+ int a;
+ a = 12;
+ int t;
+ putint(a);
+ return 0;
+}