aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
: