From 7574b55c8f65dc477e8aec66979de47c854ecae4 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 26 Jan 2016 20:02:32 +0100 Subject: Add testcase for previous patch. --- testsuite/gna/bug037/repro.vhdl | 14 ++++++++++++++ testsuite/gna/bug037/testsuite.sh | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 testsuite/gna/bug037/repro.vhdl create mode 100755 testsuite/gna/bug037/testsuite.sh diff --git a/testsuite/gna/bug037/repro.vhdl b/testsuite/gna/bug037/repro.vhdl new file mode 100644 index 0000000..49e80dd --- /dev/null +++ b/testsuite/gna/bug037/repro.vhdl @@ -0,0 +1,14 @@ +entity repro is +end; + +architecture behav of repro is + subtype byte is bit_vector (7 downto 0); + type byte_array is array (1 to 10, boolean, 'a' to 'c') of byte; + + signal s : byte_array; +begin + process + begin + wait; + end process; +end behav; diff --git a/testsuite/gna/bug037/testsuite.sh b/testsuite/gna/bug037/testsuite.sh new file mode 100755 index 0000000..ea3e4df --- /dev/null +++ b/testsuite/gna/bug037/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze repro.vhdl +elab_simulate repro --dump-rti + +clean + +echo "Test successful" -- cgit