From 96a3d51b141b06e6a8aa9c9ecd368d98f3e2d44f 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 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