mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
Add regression tests for new handling of comments in constants
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
logger -expect error "syntax error, unexpected TOK_CONSTVAL" 1
|
||||
read_verilog <<EOT
|
||||
module inverter(input a, output y);
|
||||
|
||||
assign y = (a == 1'b0? 1'b1 : 1'b0);
|
||||
|
||||
endmodule // inverter
|
||||
EOT
|
||||
Reference in New Issue
Block a user