data/full_repos/permissive/143278/ivltests/pr1876798.v
 line:11: before: "["
data/verilator_xmls/0b8f5a81-ffbf-441b-b84c-b542c2a8ef49.xml
module scan_int_array();

integer f;

integer i;
integer n;

integer v[0:3];

initial begin
  f = $fopen("work/temp.txt", "w");
  for (i = 0; i < 4; i = i + 1) begin
    $fdisplay(f, "%d", i);
  end
  $fclose(f);

  f = $fopen("work/temp.txt", "r");
  for (i = 0; i < 4; i = i + 1) begin
    n = $fscanf(f, " %d ", v[i]);
  end
  $fclose(f);

  for (i = 0; i < 4; i = i + 1) begin
    $display("%1d", v[i]);
  end
end

endmodule
module scan_int_array();


integer f;

integer i;
integer n;

integer v[0:3];

initial begin
  f = $fopen("work/temp.txt", "w");
  for (i = 0; i < 4; i = i + 1) begin
    $fdisplay(f, "%d", i);
  end
  $fclose(f);

  f = $fopen("work/temp.txt", "r");
  for (i = 0; i < 4; i = i + 1) begin
    n = $fscanf(f, " %d ", v[i]);
  end
  $fclose(f);

  for (i = 0; i < 4; i = i + 1) begin
    $display("%1d", v[i]);
  end
end

endmodule