Files
iverilog/ivtest/ivltests/sv_darray_assign_fail3.v
T
Lars-Peter Clausen 7896349380 Add regression tests for dynamic array/queue type compatibility
Check for various dynamic array and queue types that their type
compatibility is handled correctly.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2022-10-08 14:01:41 +02:00

15 lines
212 B
Verilog

// Check that it is not possible to assign a dynamic array with different
// element type width.
module test;
int d1[];
shortint d2[];
initial begin
d1 = d2;
$dispaly("FAILED");
end
endmodule