aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2098/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2098/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue2098/testsuite.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/issue2098/testsuite.sh b/testsuite/gna/issue2098/testsuite.sh
index 1d84c0f57..dfd2be71e 100755
--- a/testsuite/gna/issue2098/testsuite.sh
+++ b/testsuite/gna/issue2098/testsuite.sh
@@ -3,6 +3,17 @@
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
+
+# Original test, incorrect
+analyze_failure -Werror=elaboration test-orig.vhdl
+
+# Modified v1
+analyze -Werror=elaboration test2.vhdl
+elab_simulate test2
+
+clean
+
+# Better modification
analyze test.vhdl
elab_simulate test