yosys/tests/verilog/asgn_expr_not_sv_3.ys

8 lines
178 B
Plaintext

logger -expect error "Assignments within expressions are only supported in SystemVerilog mode." 1
read_verilog <<EOF
module top;
integer x, y;
initial y = (x = 1);
endmodule
EOF