mirror of https://github.com/YosysHQ/yosys.git
tests: add #2037 testcase
This commit is contained in:
parent
ae11156c90
commit
589775538c
|
@ -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
|
Loading…
Reference in New Issue