aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug079/repro1.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-10-30 05:45:23 +0100
committerTristan Gingold <tgingold@free.fr>2017-10-30 05:45:23 +0100
commit3f4ad3263f7e5294e20166c1396db48826a4bda5 (patch)
treef9d28d9e485b1c8620cde18f5602e75a53d27d11 /testsuite/gna/bug079/repro1.vhdl
parentbc96278e27150ad85ab73e08b7236f2a4198205d (diff)
downloadghdl-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.vhdl19
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;