aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug087
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-03-01 06:51:58 +0100
committerTristan Gingold <tgingold@free.fr>2018-03-01 06:51:58 +0100
commitc72963ed94141d08ab95f7a20086bb67252b648f (patch)
tree258cb70d6322845b822e15b5fe5f5391706fdd70 /testsuite/gna/bug087
parent09f051e990a8952a404932f1449ee7ef949ad0a7 (diff)
downloadghdl-c72963ed94141d08ab95f7a20086bb67252b648f.tar.gz
ghdl-c72963ed94141d08ab95f7a20086bb67252b648f.tar.bz2
ghdl-c72963ed94141d08ab95f7a20086bb67252b648f.zip
Add testcase for previous patch.
Diffstat (limited to 'testsuite/gna/bug087')
-rwxr-xr-xtestsuite/gna/bug087/testsuite.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/bug087/testsuite.sh b/testsuite/gna/bug087/testsuite.sh
new file mode 100755
index 000000000..27011dc94
--- /dev/null
+++ b/testsuite/gna/bug087/testsuite.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+if $GHDL -a; then
+ echo "Error message expected"
+ exit 1;
+fi
+
+
+echo "Test successful"