aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/parser+command-if.test.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/test/script/parser+command-if.test.testscript')
-rw-r--r--libbuild2/test/script/parser+command-if.test.testscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/libbuild2/test/script/parser+command-if.test.testscript b/libbuild2/test/script/parser+command-if.test.testscript
index bfca9e8..0b72b4a 100644
--- a/libbuild2/test/script/parser+command-if.test.testscript
+++ b/libbuild2/test/script/parser+command-if.test.testscript
@@ -325,6 +325,15 @@
testscript:2:1: error: 'end' without preceding 'if'
EOE
+ : without-if-semi
+ :
+ $* <<EOI 2>>EOE != 0
+ cmd;
+ end
+ EOI
+ testscript:2:1: error: 'end' without preceding 'if'
+ EOE
+
: before
{
: semi