aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue238/var3.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-02-12 21:06:42 +0100
committerTristan Gingold <tgingold@free.fr>2017-02-12 21:07:49 +0100
commit89c817660b426ef9603a264a2aaf6407d0da40e1 (patch)
tree4c2db8e25530bf08679a215ce826c87f886adc47 /testsuite/gna/issue238/var3.vhdl
parent748a8a732b96a8940bb1461502d1f1eaec0e9576 (diff)
downloadghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.tar.gz
ghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.tar.bz2
ghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.zip
Add testcases for #238
Diffstat (limited to 'testsuite/gna/issue238/var3.vhdl')
-rw-r--r--testsuite/gna/issue238/var3.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue238/var3.vhdl b/testsuite/gna/issue238/var3.vhdl
new file mode 100644
index 000000000..c34cba102
--- /dev/null
+++ b/testsuite/gna/issue238/var3.vhdl
@@ -0,0 +1,15 @@
+entity var3 is
+end;
+
+use work.pkg.all;
+
+architecture behav of var3 is
+begin
+ process
+ variable v1 : rec_4;
+ variable v2 : rec_4bis;
+ begin
+ v2 := v1;
+ wait;
+ end process;
+end behav;