diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-11-20 17:24:36 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-11-20 17:24:36 +0100 |
commit | cfc292a4d7319d6599b1d9f74b879301d71af63d (patch) | |
tree | ad5fbc65c1cf5815e2169f319ce6ee012736e2bb /testsuite/gna/issue610/repro3.vhdl | |
parent | 1d566ee1a598f2c80b0928c9b29a799590d8822b (diff) | |
download | ghdl-cfc292a4d7319d6599b1d9f74b879301d71af63d.tar.gz ghdl-cfc292a4d7319d6599b1d9f74b879301d71af63d.tar.bz2 ghdl-cfc292a4d7319d6599b1d9f74b879301d71af63d.zip |
Add reproducer for #610.
Diffstat (limited to 'testsuite/gna/issue610/repro3.vhdl')
-rw-r--r-- | testsuite/gna/issue610/repro3.vhdl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue610/repro3.vhdl b/testsuite/gna/issue610/repro3.vhdl new file mode 100644 index 000000000..dda5b8963 --- /dev/null +++ b/testsuite/gna/issue610/repro3.vhdl @@ -0,0 +1,17 @@ +entity repro3 is +end repro3; + +architecture behav of repro3 is + procedure set (v : out string) is + begin + v := (others => ' '); + end set; +begin + process + variable s : string (1 to 4); + begin + set (s); + assert s = " " severity failure; + wait; + end process; +end behav; |