From: Eddie Hung Date: Mon, 11 May 2020 17:26:08 +0000 (-0700) Subject: tests: add an generate-else test too X-Git-Tag: working-ls180~538^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29d84339bf9ec8f1d2be3fa20f81843f3ee08324;p=yosys.git tests: add an generate-else test too --- diff --git a/tests/verilog/bug2037.ys b/tests/verilog/bug2037.ys index afe92022e..42c4b8f5d 100644 --- a/tests/verilog/bug2037.ys +++ b/tests/verilog/bug2037.ys @@ -7,3 +7,37 @@ module test (); if (y) (* foo *) ; endmodule EOT + + +design -reset +logger -expect warning "Attribute\(s\) attached to null statement\. Ignoring\." 3 # cumulative +logger -expect-no-warnings +read_verilog <