From f664558a3cc4c97dbd7837afe34375a1e52323ba Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 13 May 2017 12:59:05 +0200 Subject: Add testcase for previous commit. --- testsuite/gna/bug072/t.vhdl | 4 ++++ testsuite/gna/bug072/testsuite.sh | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 testsuite/gna/bug072/t.vhdl create mode 100755 testsuite/gna/bug072/testsuite.sh (limited to 'testsuite/gna') diff --git a/testsuite/gna/bug072/t.vhdl b/testsuite/gna/bug072/t.vhdl new file mode 100644 index 000000000..3529ec173 --- /dev/null +++ b/testsuite/gna/bug072/t.vhdl @@ -0,0 +1,4 @@ +package t is + type arr is array (natural range 0 to 7) of bit; + subtype arridx is arr'range; +end t; diff --git a/testsuite/gna/bug072/testsuite.sh b/testsuite/gna/bug072/testsuite.sh new file mode 100755 index 000000000..8cd06d676 --- /dev/null +++ b/testsuite/gna/bug072/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure t.vhdl + +clean + +echo "Test successful" -- cgit v1.2.3