aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-04-20 19:12:53 +0200
committerTristan Gingold <tgingold@free.fr>2022-04-20 19:12:53 +0200
commite85b7d29d04801b99ae15415d26553319f8f9875 (patch)
tree4ffedf5786d6e5845133f81d4eb4ddac1d7d8ffe /testsuite/gna
parent436cbf81e117f3cd12decaa53de7f9d15aaec8bb (diff)
downloadghdl-e85b7d29d04801b99ae15415d26553319f8f9875.tar.gz
ghdl-e85b7d29d04801b99ae15415d26553319f8f9875.tar.bz2
ghdl-e85b7d29d04801b99ae15415d26553319f8f9875.zip
testsuite/gna: add a test for previous commit
Diffstat (limited to 'testsuite/gna')
-rw-r--r--testsuite/gna/bug0100/arr_err1.vhdl4
-rwxr-xr-xtestsuite/gna/bug0100/testsuite.sh1
2 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/arr_err1.vhdl b/testsuite/gna/bug0100/arr_err1.vhdl
new file mode 100644
index 000000000..e8dede755
--- /dev/null
+++ b/testsuite/gna/bug0100/arr_err1.vhdl
@@ -0,0 +1,4 @@
+package arr_err1 is
+ type t_slv32_x3 is array(1 tnatural range <>) of bit_vector(31 downto 0);
+end arr_err1;
+
diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh
index 3733548f3..485b0e443 100755
--- a/testsuite/gna/bug0100/testsuite.sh
+++ b/testsuite/gna/bug0100/testsuite.sh
@@ -31,6 +31,7 @@ analyze_failure --force-analysis varcomp.vhdl
#analyze_failure --force-analysis name2.vhdl
analyze_failure --force-analysis name4.vhdl
analyze_failure --force-analysis inst2.vhdl
+analyze_failure arr_err1.vhdl
if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then
: