yosys/tests/verilog/unmatched_endif_2.ys

8 lines
128 B
Plaintext

logger -expect error "Found `endif outside of macro conditional branch!" 1
read_verilog <<EOF
`ifndef a
`else
`endif
`endif
EOF