Files
iverilog/ivtest/ivltests/sv_lval_concat_darray_fail2.v
T
Lars-Peter Clausen f9ab26b3d9 Add regression tests for unpacked l-value concat errors
Check that class objects, dynamic arrays, queues, strings and static
unpacked arrays can not be used as l-value concatenation operands. Check
procedural and continuous assignment concatenations, including single
operand concatenations.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2026-05-15 20:48:19 -07:00

13 lines
169 B
Verilog

// Check that dynamic arrays can not be used in single operand l-value concatenations.
module test;
int x;
int d[];
initial begin
{d} = x;
end
endmodule