diff options
Diffstat (limited to 'testsuite/gna/ticket78/bug.vhdl')
-rw-r--r-- | testsuite/gna/ticket78/bug.vhdl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/ticket78/bug.vhdl b/testsuite/gna/ticket78/bug.vhdl new file mode 100644 index 0000000..5faa595 --- /dev/null +++ b/testsuite/gna/ticket78/bug.vhdl @@ -0,0 +1,16 @@ +entity ent is +end entity; + +architecture a of ent is + procedure proc(bv : bit_vector) is + begin + report to_string(bv'length); + end procedure; +begin + main : process + variable bv : bit_vector(0 to 1); + begin + proc(bv); + wait; + end process; +end architecture; |