aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/compile-layout
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-10 15:35:31 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-10 15:35:31 +0100
commitc94b0ddcec4720391036826db64d3157a2972fd8 (patch)
treed35868c110a8fa927467a485ba921523ce2b0d18 /test-files/mds-kbdc/compile-layout
parentmds-kbdc: compile-layout: m bug fix + more test cases (diff)
downloadmds-c94b0ddcec4720391036826db64d3157a2972fd8.tar.gz
mds-c94b0ddcec4720391036826db64d3157a2972fd8.tar.bz2
mds-c94b0ddcec4720391036826db64d3157a2972fd8.tar.xz
mds-kbdc: compile-layout: fix sideeffect tracking
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/compile-layout')
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/mix_of_with_and_without_sideeffect15
1 files changed, 15 insertions, 0 deletions
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()
+