summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/bind/scoped_main.tig
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/tests/bind/scoped_main.tig')
-rw-r--r--tiger-compiler/tests/bind/scoped_main.tig6
1 files changed, 6 insertions, 0 deletions
diff --git a/tiger-compiler/tests/bind/scoped_main.tig b/tiger-compiler/tests/bind/scoped_main.tig
new file mode 100644
index 0000000..f97af75
--- /dev/null
+++ b/tiger-compiler/tests/bind/scoped_main.tig
@@ -0,0 +1,6 @@
+function seq():int =
+let
+ function _main(a : a) : a = 8
+in
+ _main
+end \ No newline at end of file