summaryrefslogtreecommitdiff
path: root/test/regress/D9C8EB08.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/D9C8EB08.test')
-rw-r--r--test/regress/D9C8EB08.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/D9C8EB08.test b/test/regress/D9C8EB08.test
new file mode 100644
index 00000000..fa02431b
--- /dev/null
+++ b/test/regress/D9C8EB08.test
@@ -0,0 +1,16 @@
+; Test for: Using ! erroneously in a data file causes a segfault
+
+! Assets:Cash
+
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+!end
+
+test bal -> 1
+__ERROR__
+While parsing file "$FILE", line 9:
+Error: 'end' or 'end apply' found, but no enclosing 'apply' directive
+end test
+