blob: 79b4fac43d0efb32606da5a2cc4d08e367c0720c [file] [log] [blame]
/*
:name: associative-arrays-arg-traversal
:description: Test support of associative arrays methods
:should_fail: 0
:tags: 7.9.8 7.9
:type: simulation parsing
*/
module top ();
string map[ int ];
byte ix;
int rc;
initial begin
map[ 1000 ] = "a";
rc = map.first( ix );
$display(":assert: ( (%d == -1) and ('%b' == '11101000') )", rc, ix);
end
endmodule