data/full_repos/permissive/143278/ivltests/br_gh231.v
 line:8: before: "("
data/verilator_xmls/87a545c5-a3b5-4539-b1fd-b2955cec5e67.xml
module bug;

reg [4:0] a = 5'b01010;

reg failed = 0;

initial begin
  foreach (a[i]) begin
    $display("Value of a[%0d]=%0d", i, a[i]);
    if (a[i] !== i[0]) failed = 1;
  end
  if (failed)
    $display("FAILED");
  else
    $display("PASSED");
end

endmodule
module bug;


reg [4:0] a = 5'b01010;

reg failed = 0;

initial begin
  foreach (a[i]) begin
    $display("Value of a[%0d]=%0d", i, a[i]);
    if (a[i] !== i[0]) failed = 1;
  end
  if (failed)
    $display("FAILED");
  else
    $display("PASSED");
end

endmodule