yosys/tests/verilog/unmatched_else.ys

7 lines
125 B
Plaintext

logger -expect error "Found `else outside of macro conditional branch!" 1
read_verilog <<EOT
module top;
`else
endmodule
EOT