summaryrefslogtreecommitdiff
path: root/tests/general/tpp5.icn
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/tpp5.icn')
-rw-r--r--tests/general/tpp5.icn12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/general/tpp5.icn b/tests/general/tpp5.icn
new file mode 100644
index 0000000..99f6257
--- /dev/null
+++ b/tests/general/tpp5.icn
@@ -0,0 +1,12 @@
+# tpp5.icn: test for unterminated $if
+
+$endif # should not match includer's $if
+
+$else # should not match includer's $if
+
+$ifdef id5
+ $ifdef x
+ $else
+ $endif
+
+#outer unterminated $ifdef should get error