From b352b77ea31a112a7354edf0100e2c25599aed54 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 10 Dec 2014 15:11:41 +0100 Subject: mds-kbdc: compile-layout: test return MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test-files/mds-kbdc/compile-layout/valid/return | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test-files/mds-kbdc/compile-layout/valid/return (limited to 'test-files/mds-kbdc/compile-layout/valid/return') 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() + -- cgit v1.2.3-70-g09d2