From 5885c15733efd56a0254b3735deceadf26f7d5d2 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 28 May 2021 20:57:09 +0200 Subject: testsuite/gna: add a test for previous commit --- testsuite/gna/bug0100/name1.vhdl | 11 +++++++++++ testsuite/gna/bug0100/name2.vhdl | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 testsuite/gna/bug0100/name1.vhdl create mode 100644 testsuite/gna/bug0100/name2.vhdl (limited to 'testsuite') diff --git a/testsuite/gna/bug0100/name1.vhdl b/testsuite/gna/bug0100/name1.vhdl new file mode 100644 index 000000000..0ba1876e0 --- /dev/null +++ b/testsuite/gna/bug0100/name1.vhdl @@ -0,0 +1,11 @@ +entity crash1 is +end crash1; + +architecture behav of crash1 is + signal samples: bit; +begin + process + begin + bit'(samples)); + end process; +end behav; diff --git a/testsuite/gna/bug0100/name2.vhdl b/testsuite/gna/bug0100/name2.vhdl new file mode 100644 index 000000000..702c5823b --- /dev/null +++ b/testsuite/gna/bug0100/name2.vhdl @@ -0,0 +1,11 @@ +entity name2 is +end name2; + +architecture behav of name2 is + signal samples: bit; +begin + process + begin + bit'samples); + end process; +end behav; -- cgit v1.2.3