mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-28 16:53:45 +02:00
Check for various dynamic array and queue types that their type compatibility is handled correctly. Signed-off-by: Lars-Peter Clausen <[email protected]>
15 lines
212 B
Verilog
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
|