diff options
Diffstat (limited to 'tests/verilog/bug2493.ys')
-rw-r--r-- | tests/verilog/bug2493.ys | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/verilog/bug2493.ys b/tests/verilog/bug2493.ys new file mode 100644 index 000000000..380d2a823 --- /dev/null +++ b/tests/verilog/bug2493.ys @@ -0,0 +1,12 @@ +logger -expect error "Failed to detect width for identifier \\genblk1\.y!" 1 +read_verilog <<EOT +module top1; + wire x; + generate + if (1) begin + mod y(); + assign x = y; + end + endgenerate +endmodule +EOT |