Fix block names of nested do..while loops (#4728)

This commit is contained in:
Ryszard Rozak
2023-11-30 14:32:12 +01:00
committed by GitHub
parent 1fe591ae20
commit d1ee9827a0
2 changed files with 19 additions and 9 deletions
+9
View File
@@ -52,6 +52,15 @@ module t (/*AUTOARG*/);
end while (a < 0);
if (a != 5) $stop;
a = 1;
do begin
do begin
int x = 1;
a += x;
end while (a < 3);
end while (a < 5);
if (a != 5) $stop;
$write("*-* All Finished *-*\n");
$finish;
end