From c94b0ddcec4720391036826db64d3157a2972fd8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 10 Dec 2014 15:35:31 +0100 Subject: mds-kbdc: compile-layout: fix sideeffect tracking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- .../invalid/mix_of_with_and_without_sideeffect | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test-files/mds-kbdc/compile-layout/invalid/mix_of_with_and_without_sideeffect (limited to 'test-files/mds-kbdc/compile-layout/invalid') diff --git a/test-files/mds-kbdc/compile-layout/invalid/mix_of_with_and_without_sideeffect b/test-files/mds-kbdc/compile-layout/invalid/mix_of_with_and_without_sideeffect new file mode 100644 index 0000000..9c9a0f8 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/mix_of_with_and_without_sideeffect @@ -0,0 +1,15 @@ +let \1 : {0} +function f/0 + if 1 # if statement is just to reduce warnings + "\set(1 0 0)" + "c" + end if +end function +macro m/0 + "a" + "\f()" + "b" + "\f()" +end macro +m() + -- cgit v1.2.3-70-g09d2