diff options
Diffstat (limited to 'testsuite/gna/ticket95')
-rw-r--r-- | testsuite/gna/ticket95/pkg.vhd | 10 | ||||
-rwxr-xr-x | testsuite/gna/ticket95/testsuite.sh | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/gna/ticket95/pkg.vhd b/testsuite/gna/ticket95/pkg.vhd new file mode 100644 index 0000000..0346621 --- /dev/null +++ b/testsuite/gna/ticket95/pkg.vhd @@ -0,0 +1,10 @@ +use std.textio.all; + +package pkg is + type enum_t is (a,b,c,d); + type arr_t is array (enum_t range <>) of line; + shared variable arr : arr_t(a to d) := (others => null); +end package; + +package body pkg is +end package body pkg; diff --git a/testsuite/gna/ticket95/testsuite.sh b/testsuite/gna/ticket95/testsuite.sh new file mode 100755 index 0000000..0ff1c86 --- /dev/null +++ b/testsuite/gna/ticket95/testsuite.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze pkg.vhd +clean + +echo "Test successful" |