aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/issue235/test.vhdl18
-rwxr-xr-xtestsuite/gna/issue235/testsuite.sh11
2 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gna/issue235/test.vhdl b/testsuite/gna/issue235/test.vhdl
new file mode 100644
index 000000000..812282766
--- /dev/null
+++ b/testsuite/gna/issue235/test.vhdl
@@ -0,0 +1,18 @@
+PACKAGE test_pkg IS
+
+ TYPE string_array_t IS ARRAY (natural RANGE <>) OF string;
+
+END test_pkg;
+
+ENTITY test IS
+END ENTITY test;
+
+LIBRARY work;
+USE work.test_pkg.string_array_t;
+
+ARCHITECTURE rtl OF test IS
+
+
+BEGIN
+
+END ARCHITECTURE rtl;
diff --git a/testsuite/gna/issue235/testsuite.sh b/testsuite/gna/issue235/testsuite.sh
new file mode 100755
index 000000000..1d84c0f57
--- /dev/null
+++ b/testsuite/gna/issue235/testsuite.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze test.vhdl
+elab_simulate test
+
+clean
+
+echo "Test successful"