aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1066
diff options
context:
space:
mode:
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"