summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug02/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold2014-09-06 06:52:10 +0200
committerTristan Gingold2014-09-06 06:52:10 +0200
commitbc29eec25beb8e337bc7ad8ac38734d9491fbe94 (patch)
treee279f13498eb4786b996405501e5a4b56ad119a8 /testsuite/gna/bug02/testsuite.sh
parent75fcb55685369ab176541cdce4b0874bd1774f55 (diff)
downloadghdl-bc29eec25beb8e337bc7ad8ac38734d9491fbe94.tar.gz
ghdl-bc29eec25beb8e337bc7ad8ac38734d9491fbe94.tar.bz2
ghdl-bc29eec25beb8e337bc7ad8ac38734d9491fbe94.zip
Add a test for vhdl08 overloading.
Diffstat (limited to 'testsuite/gna/bug02/testsuite.sh')
-rwxr-xr-xtestsuite/gna/bug02/testsuite.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/bug02/testsuite.sh b/testsuite/gna/bug02/testsuite.sh
new file mode 100755
index 0000000..1c0e6d3
--- /dev/null
+++ b/testsuite/gna/bug02/testsuite.sh
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze repro.vhdl
+elab_simulate repro
+
+analyze repro2.vhdl
+elab_simulate repro2
+
+clean
+
+GHDL_STD_FLAGS=--std=08
+analyze repro3.vhdl
+elab_simulate repro3
+
+clean
+
+echo "Test successful"