aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/compile-layout/valid
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test-files/mds-kbdc/compile-layout/valid/return24
1 files changed, 24 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/valid/return b/test-files/mds-kbdc/compile-layout/valid/return
new file mode 100644
index 0000000..9a052cc
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/valid/return
@@ -0,0 +1,24 @@
+function f/0
+ "a"
+ if 1
+ return
+ end if
+ 0
+end function
+function g/0
+ "a"
+ if 1
+ "b"
+ return
+ end if
+ 0
+end function
+macro m/0
+ "\f()" : "\g()"
+ if 1
+ return
+ end if
+ "" : 0
+end macro
+m()
+