From a9eae0321eea5efb79d30ad0210e7c52f3701eac Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 29 Sep 2020 07:56:51 +0200 Subject: testsuite/gna: add a test for #1473 --- testsuite/gna/issue1473/test.vhdl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 testsuite/gna/issue1473/test.vhdl (limited to 'testsuite/gna/issue1473/test.vhdl') diff --git a/testsuite/gna/issue1473/test.vhdl b/testsuite/gna/issue1473/test.vhdl new file mode 100644 index 000000000..975489cb4 --- /dev/null +++ b/testsuite/gna/issue1473/test.vhdl @@ -0,0 +1,17 @@ +library ieee; + +entity test is +end test; + +architecture test of test is + + type values_t is array (0 to VALUES - 1) of boolean; + signal values: values_t; + + type elem_t is (a, b, c); + type arr_t is array (0 to VALUES - 1) of elem_t; + signal arr: arr_t; + +begin + arr <= (others => a); +end test; -- cgit v1.2.3