data/full_repos/permissive/143278/ivltests/pr498.v
 line:23: before: "="
1: b"%Error: data/full_repos/permissive/143278/ivltests/pr498.v:23: syntax error, unexpected '=', expecting '.'\n   defparam foo = 3;  \n                ^\n%Error: Exiting due to 1 error(s)\n"
module test;
   parameter foo = 10;
   reg [foo-1:0] bar;

   initial begin
      if ($bits(bar) != 4) begin
	 $display("FAILED -- $bits(bar) = %d", $bits(bar));
	 $finish;
      end
      $display("PASSED");
   end

endmodule
module test;

   parameter foo = 10;
   reg [foo-1:0] bar;

   initial begin
      if ($bits(bar) != 4) begin
	 $display("FAILED -- $bits(bar) = %d", $bits(bar));
	 $finish;
      end
      $display("PASSED");
   end

endmodule