aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2015-11-27 05:06:39 +0100
committerTristan Gingold <gingold@adacore.com>2015-11-27 05:06:39 +0100
commit797c7c5962ae4332df74bbc19edd1ed6a343faae (patch)
treec3f7da278330afac25d660977c6779d785333cad /testsuite/gna
parentf4c4a9939e9605d4c3a545f0fe89c13f541ba6da (diff)
downloadghdl-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.vhdl7
-rwxr-xr-xtestsuite/gna/bug028/testsuite.sh10
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"