diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-03-04 18:37:00 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-03-04 18:37:00 +0100 |
commit | fb04e7c1a2fdcfc6cc7f7d2986b630cc424b081b (patch) | |
tree | 5badc3abbd3bad1d585cdf4e37bc0b891d1ad746 /testsuite/gna/issue1066 | |
parent | 2361fe47fa6bdb23f0b801ca646bf6c5983de5f8 (diff) | |
download | ghdl-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.vhdl | 3 | ||||
-rwxr-xr-x | testsuite/gna/issue1066/testsuite.sh | 9 |
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" |