aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2070/crash47_1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2070/crash47_1.vhdl')
-rw-r--r--testsuite/gna/issue2070/crash47_1.vhdl20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/issue2070/crash47_1.vhdl b/testsuite/gna/issue2070/crash47_1.vhdl
new file mode 100644
index 000000000..34f9eee95
--- /dev/null
+++ b/testsuite/gna/issue2070/crash47_1.vhdl
@@ -0,0 +1,20 @@
+entity g is
+ generic(type stream0t);
+ port(t:t stream0t);
+end;
+
+architecture t of g is
+ type e is array(0)of m;
+ signal w:r range 0 to 0;
+ signal r:r range 0 to 0;
+ signal m:n;
+begin
+ y(0);
+ process(a)
+ begin
+ if(0)then
+ if 0 then(0)<=0;
+ end if;
+ end if;
+ end process;
+end;