aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple/unnamed_block_decl.sv
blob: e78c577daae374eb64e38de85b72c249481cdd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module unnamed_block_decl(z);
	output integer z;
	initial begin
		integer x;
		x = 1;
		begin
			integer y;
			y = x + 1;
			begin
				integer z;
				z = y + 1;
				y = z + 1;
			end
			z = y + 1;
		end
	end
endmodule