aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1066
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-04 18:37:00 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-04 18:37:00 +0100
commitfb04e7c1a2fdcfc6cc7f7d2986b630cc424b081b (patch)
tree5badc3abbd3bad1d585cdf4e37bc0b891d1ad746 /testsuite/gna/issue1066
parent2361fe47fa6bdb23f0b801ca646bf6c5983de5f8 (diff)
downloadghdl-fb04e7c1a2fdcfc6cc7f7d2986b630cc424b081b.tar.gz
ghdl-fb04e7c1a2fdcfc6cc7f7d2986b630cc424b081b.tar.bz2
ghdl-fb04e7c1a2fdcfc6cc7f7d2986b630cc424b081b.zip
Add testcase for #1066
Diffstat (limited to 'testsuite/gna/issue1066')
-rw-r--r--testsuite/gna/issue1066/hello.vhdl3
-rwxr-xr-xtestsuite/gna/issue1066/testsuite.sh9
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue1066/hello.vhdl b/testsuite/gna/issue1066/hello.vhdl
new file mode 100644
index 000000000..d5d75840f
--- /dev/null
+++ b/testsuite/gna/issue1066/hello.vhdl
@@ -0,0 +1,3 @@
+entity hello is
+ error;
+end hello;
diff --git a/testsuite/gna/issue1066/testsuite.sh b/testsuite/gna/issue1066/testsuite.sh
new file mode 100755
index 000000000..56e1683ad
--- /dev/null
+++ b/testsuite/gna/issue1066/testsuite.sh
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze_failure hello.vhdl -fno-color-diagnostics 2>&1 | grep "no option expected"
+
+clean
+
+echo "Test successful"