blob: 67b37b7f3e7ae2f0027fa26c22137315b1b9f5f6 [file] [log] [blame]
/*
:name: associative-arrays-allocating-elements
:description: Test associative arrays elements allocation
:should_fail: 0
:tags: 7.8.7 7.8 7.9.1
*/
module top ();
int arr [ int ];
initial begin
$display(":assert: (%d == 0)", arr.size);
arr[10] = 10;
$display(":assert: (%d == 1)", arr.size);
end
endmodule