diff options
Diffstat (limited to 'testsuite/gna/issue449/repro2.vhdl')
-rw-r--r-- | testsuite/gna/issue449/repro2.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/issue449/repro2.vhdl b/testsuite/gna/issue449/repro2.vhdl new file mode 100644 index 000000000..e523d692e --- /dev/null +++ b/testsuite/gna/issue449/repro2.vhdl @@ -0,0 +1,20 @@ +entity asd2 is +end entity; + +architecture aa of asd2 is +type ia is array (natural range <>) of integer; + +function a return ia is +begin +return (1,2); +end function; + +function a (s : integer) return integer is +begin +return 1; +end function; + +signal ad : integer; +begin +ad <= a(1); +end architecture; |