diff options
author | Tristan Gingold <gingold@adacore.com> | 2015-11-27 05:06:39 +0100 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2015-11-27 05:06:39 +0100 |
commit | 797c7c5962ae4332df74bbc19edd1ed6a343faae (patch) | |
tree | c3f7da278330afac25d660977c6779d785333cad /testsuite/gna | |
parent | f4c4a9939e9605d4c3a545f0fe89c13f541ba6da (diff) | |
download | ghdl-797c7c5962ae4332df74bbc19edd1ed6a343faae.tar.gz ghdl-797c7c5962ae4332df74bbc19edd1ed6a343faae.tar.bz2 ghdl-797c7c5962ae4332df74bbc19edd1ed6a343faae.zip |
Add testcase for previous patch.
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/bug028/simple.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/bug028/testsuite.sh | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/bug028/simple.vhdl b/testsuite/gna/bug028/simple.vhdl new file mode 100644 index 000000000..a8b00e39a --- /dev/null +++ b/testsuite/gna/bug028/simple.vhdl @@ -0,0 +1,7 @@ +entity simple is +end simple; + +architecture behav of simple is +begin + assert false report "Hello"; +end behav; diff --git a/testsuite/gna/bug028/testsuite.sh b/testsuite/gna/bug028/testsuite.sh new file mode 100755 index 000000000..2567fba26 --- /dev/null +++ b/testsuite/gna/bug028/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--std=08 +GHDL_FLAGS=--ieee=synopsys +analyze simple.vhdl 2>&1 | grep ignored +clean + +echo "Test successful" |