aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna')
-rw-r--r--testsuite/gna/ticket90/test.vhdl10
-rwxr-xr-xtestsuite/gna/ticket90/testsuite.sh14
2 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/ticket90/test.vhdl b/testsuite/gna/ticket90/test.vhdl
new file mode 100644
index 000000000..92b197117
--- /dev/null
+++ b/testsuite/gna/ticket90/test.vhdl
@@ -0,0 +1,10 @@
+entity test is
+ generic (
+ a, b : integer);
+begin
+ assert a = b report "a /= b" severity failure;
+end entity;
+
+architecture a of test is
+begin
+end architecture;
diff --git a/testsuite/gna/ticket90/testsuite.sh b/testsuite/gna/ticket90/testsuite.sh
new file mode 100755
index 000000000..d4f9881e9
--- /dev/null
+++ b/testsuite/gna/ticket90/testsuite.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze test.vhdl
+elab_simulate test
+clean
+
+GHDL_STD_FLAGS=--std=08
+
+analyze test.vhdl
+clean
+
+echo "Test successful"