From 42fab693f6ab2171123ef8d2ab6b92bfe3935aca Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 26 Sep 2015 05:55:27 +0200 Subject: testcase for ticket95 --- testsuite/gna/ticket95/pkg.vhd | 10 ++++++++++ testsuite/gna/ticket95/testsuite.sh | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 testsuite/gna/ticket95/pkg.vhd create mode 100755 testsuite/gna/ticket95/testsuite.sh (limited to 'testsuite/gna/ticket95') 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" -- cgit