yosys/tests/verilog/asgn_expr_not_proc_1.ys

8 lines
173 B
Plaintext

logger -expect error "Assignments within expressions are only permitted within procedures." 1
read_verilog -sv <<EOF
module top;
integer x, y;
assign x = y++;
endmodule
EOF