diff options
Diffstat (limited to 'testsuite/gna/issue648/repro.vhdl')
-rw-r--r-- | testsuite/gna/issue648/repro.vhdl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue648/repro.vhdl b/testsuite/gna/issue648/repro.vhdl new file mode 100644 index 000000000..fe23ad7f7 --- /dev/null +++ b/testsuite/gna/issue648/repro.vhdl @@ -0,0 +1,12 @@ +entity repro is +end entity; + +architecture h of repro is + constant L :positive := 9 + now / 1 ns; + signal s :bit_vector(31 downto 0); + alias a :bit_vector(L-1 downto 2) is s(L-1 downto 2); + signal b :bit_vector(L-1 downto 2); +begin + a <= b; +end architecture; + |