diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-10-30 05:45:23 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-10-30 05:45:23 +0100 |
commit | 3f4ad3263f7e5294e20166c1396db48826a4bda5 (patch) | |
tree | f9d28d9e485b1c8620cde18f5602e75a53d27d11 /testsuite/gna/bug079/repro1.vhdl | |
parent | bc96278e27150ad85ab73e08b7236f2a4198205d (diff) | |
download | ghdl-3f4ad3263f7e5294e20166c1396db48826a4bda5.tar.gz ghdl-3f4ad3263f7e5294e20166c1396db48826a4bda5.tar.bz2 ghdl-3f4ad3263f7e5294e20166c1396db48826a4bda5.zip |
Add testcase for previous commit.
Diffstat (limited to 'testsuite/gna/bug079/repro1.vhdl')
-rw-r--r-- | testsuite/gna/bug079/repro1.vhdl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/bug079/repro1.vhdl b/testsuite/gna/bug079/repro1.vhdl new file mode 100644 index 000000000..08d122f1f --- /dev/null +++ b/testsuite/gna/bug079/repro1.vhdl @@ -0,0 +1,19 @@ +entity repro1 is +end repro1; + +architecture behav of repro1 is +begin + + process + variable var : natural; + + procedure proc (var : natural) is + begin + assert var = 5; + end; + begin + var := 5; + proc (var => var); + wait; + end process; +end behav; |