summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold2016-01-10 07:26:26 +0100
committerTristan Gingold2016-01-11 20:31:39 +0100
commitd154753aeaf8fe8106f5ddc42d9cc91feb4a8de0 (patch)
treef54c1360a642f526126d7ab0b06c0a475a9c908c
parent3e14b70c1f1decc36cecabe909c5cb2c3464f7d3 (diff)
downloadghdl-d154753aeaf8fe8106f5ddc42d9cc91feb4a8de0.tar.gz
ghdl-d154753aeaf8fe8106f5ddc42d9cc91feb4a8de0.tar.bz2
ghdl-d154753aeaf8fe8106f5ddc42d9cc91feb4a8de0.zip
Add testcase for previous patch.
-rw-r--r--testsuite/gna/issue14/repro1.vhdl6
-rwxr-xr-xtestsuite/gna/issue14/testsuite.sh3
2 files changed, 6 insertions, 3 deletions
diff --git a/testsuite/gna/issue14/repro1.vhdl b/testsuite/gna/issue14/repro1.vhdl
index 468b651..6d37c16 100644
--- a/testsuite/gna/issue14/repro1.vhdl
+++ b/testsuite/gna/issue14/repro1.vhdl
@@ -1,10 +1,10 @@
library ieee;
use ieee.std_logic_1164.all;
-entity repro is
-end repro;
+entity repro1 is
+end repro1;
-architecture behav of repro is
+architecture behav of repro1 is
begin
assert std_ulogic_vector'("LL") ?= "00";
end behav;
diff --git a/testsuite/gna/issue14/testsuite.sh b/testsuite/gna/issue14/testsuite.sh
index 7b44135..4b1ee25 100755
--- a/testsuite/gna/issue14/testsuite.sh
+++ b/testsuite/gna/issue14/testsuite.sh
@@ -12,6 +12,9 @@ else
echo "Expected number of warnings"
fi
+analyze repro1.vhdl
+elab_simulate repro1
+
clean
rm log.txt