aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1723/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-08-06 03:04:16 +0200
committerTristan Gingold <tgingold@free.fr>2021-08-06 03:04:16 +0200
commit9e421ddc712d8c3346604ac36a0a83419ad9464c (patch)
tree67a2e24be828a789ac067164d46f440221ecbc5a /testsuite/gna/issue1723/testsuite.sh
parent75b92a00db2dce6478b68c31ddb08e10c784ee60 (diff)
downloadghdl-9e421ddc712d8c3346604ac36a0a83419ad9464c.tar.gz
ghdl-9e421ddc712d8c3346604ac36a0a83419ad9464c.tar.bz2
ghdl-9e421ddc712d8c3346604ac36a0a83419ad9464c.zip
testsuite/gna: add a test for #1723
Diffstat (limited to 'testsuite/gna/issue1723/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue1723/testsuite.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/issue1723/testsuite.sh b/testsuite/gna/issue1723/testsuite.sh
new file mode 100755
index 000000000..1610fe253
--- /dev/null
+++ b/testsuite/gna/issue1723/testsuite.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze_failure -Werror repro.vhdl
+
+analyze repro.vhdl
+elab_simulate_failure repro
+
+clean
+
+echo "Test successful"