mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-03 01:13:47 +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
243 B
Verilog
15 lines
243 B
Verilog
// Check that it is not possible to assign a dynamic array with an int
|
|
// element type to a dynamic array with a real element type.
|
|
|
|
module test;
|
|
|
|
real d1[];
|
|
int d2[];
|
|
|
|
initial begin
|
|
d1 = d2;
|
|
$display("FAILED");
|
|
end
|
|
|
|
endmodule
|