aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2421/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2421/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue2421/testsuite.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/issue2421/testsuite.sh b/testsuite/gna/issue2421/testsuite.sh
new file mode 100755
index 000000000..c6f7f1765
--- /dev/null
+++ b/testsuite/gna/issue2421/testsuite.sh
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze_failure --std=93 top.vhdl
+analyze_failure --std=08 top.vhdl
+
+analyze top.vhdl
+elab_simulate top
+
+clean
+
+GHDL_STD_FLAGS="--std=08 -frelaxed"
+analyze top.vhdl
+elab_simulate top
+
+clean
+
+echo "Test successful"