diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-11-30 21:13:37 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-12-01 04:35:16 +0100 |
commit | 01fedd0141d2380b2b90e20ecfc7daf81f00800f (patch) | |
tree | 3192151d909a85e4fef96c09835ff33b3a0788a3 /testsuite/gna/issue474 | |
parent | b5f86659f859eac6a9e13a15387ec245f04bf968 (diff) | |
download | ghdl-01fedd0141d2380b2b90e20ecfc7daf81f00800f.tar.gz ghdl-01fedd0141d2380b2b90e20ecfc7daf81f00800f.tar.bz2 ghdl-01fedd0141d2380b2b90e20ecfc7daf81f00800f.zip |
Add testcase for #474
Diffstat (limited to 'testsuite/gna/issue474')
-rw-r--r-- | testsuite/gna/issue474/t.vhdl | 2 | ||||
-rwxr-xr-x | testsuite/gna/issue474/testsuite.sh | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue474/t.vhdl b/testsuite/gna/issue474/t.vhdl new file mode 100644 index 000000000..53a023142 --- /dev/null +++ b/testsuite/gna/issue474/t.vhdl @@ -0,0 +1,2 @@ +entity t is +end t1; diff --git a/testsuite/gna/issue474/testsuite.sh b/testsuite/gna/issue474/testsuite.sh new file mode 100755 index 000000000..761366b32 --- /dev/null +++ b/testsuite/gna/issue474/testsuite.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +. ../../testenv.sh + +if $GHDL -i t.vhdl; then + echo "Failure expected" + exit 1 +fi + +clean + +echo "Test successful" |