diff options
author | Tristan Gingold | 2015-09-26 05:55:27 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-09-26 05:55:27 +0200 |
commit | 42fab693f6ab2171123ef8d2ab6b92bfe3935aca (patch) | |
tree | eb7d036c886c0bdd5993d519a170c036875bd1f1 /testsuite | |
parent | d46e4f35422e107db1edfbcc97e3624fc3965b7f (diff) | |
download | ghdl-42fab693f6ab2171123ef8d2ab6b92bfe3935aca.tar.gz ghdl-42fab693f6ab2171123ef8d2ab6b92bfe3935aca.tar.bz2 ghdl-42fab693f6ab2171123ef8d2ab6b92bfe3935aca.zip |
testcase for ticket95
Diffstat (limited to 'testsuite')
-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" |