diff options
Diffstat (limited to 'tests/verilog')
-rw-r--r-- | tests/verilog/bug2037.ys | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/verilog/bug2037.ys b/tests/verilog/bug2037.ys new file mode 100644 index 000000000..afe92022e --- /dev/null +++ b/tests/verilog/bug2037.ys @@ -0,0 +1,9 @@ +logger -expect warning "Attribute\(s\) attached to null statement\. Ignoring\." 1 +logger -expect-no-warnings +read_verilog <<EOT +module test (); + localparam y = 1; + always @(*) + if (y) (* foo *) ; +endmodule +EOT |