aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-08-14 21:59:17 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-08-23 16:35:35 +0200
commit2daa121cd8d40175a82c887b514208ff7f0a50da (patch)
tree40cab3e10f2c2bc4bac1983bd9412f634ded9961
parent0562c182aba6e99cbdeb302f6efa584d6642267f (diff)
downloadghdl-2daa121cd8d40175a82c887b514208ff7f0a50da.tar.gz
ghdl-2daa121cd8d40175a82c887b514208ff7f0a50da.tar.bz2
ghdl-2daa121cd8d40175a82c887b514208ff7f0a50da.zip
Extended testcase.
-rw-r--r--testsuite/pyunit/Current.vhdl10
1 files changed, 9 insertions, 1 deletions
diff --git a/testsuite/pyunit/Current.vhdl b/testsuite/pyunit/Current.vhdl
index f97d831b9..f755b95a8 100644
--- a/testsuite/pyunit/Current.vhdl
+++ b/testsuite/pyunit/Current.vhdl
@@ -189,7 +189,15 @@ begin
when others =>
constant G8 : boolean := False;
begin
- inst: component OthersDummy;
+ blkOthers: block
+ constant G9 : boolean := False;
+ begin
+ ifOthers: if false generate
+ constant G10 : boolean := False;
+ begin
+ inst: component OthersDummy;
+ end generate;
+ end block;
end generate;
call: OtherDummy;