mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-05 16:56:06 +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
229 B
Verilog
15 lines
229 B
Verilog
// Check that it is not possible to assign a queue with a real element type to a
|
|
// queue with an int element type.
|
|
|
|
module test;
|
|
|
|
int q1[$];
|
|
real q2[$];
|
|
|
|
initial begin
|
|
q1 = q2;
|
|
$display("FAILED");
|
|
end
|
|
|
|
endmodule
|