data/full_repos/permissive/42434302/ivltests/signed13.v
1: b'%Error: data/full_repos/permissive/42434302/ivltests/signed13.v:3: syntax error, unexpected var, expecting IDENTIFIER or \'=\' or do or final\n  reg [3:0] var;\n            ^~~\n%Error: data/full_repos/permissive/42434302/ivltests/signed13.v:9: syntax error, unexpected IDENTIFIER, expecting new or new-then-paren\n      var = lp;\n            ^~\n%Error: data/full_repos/permissive/42434302/ivltests/signed13.v:12: syntax error, unexpected var, expecting TYPE-IDENTIFIER\n      if (lp !== $signed(var+5\'b0)) begin\n                         ^~~\n%Error: data/full_repos/permissive/42434302/ivltests/signed13.v:18: syntax error, unexpected $display\n    if (pass) $display("PASSED");\n              ^~~~~~~~\n%Error: Cannot continue\n'
module top;
  reg pass;
  reg [3:0] var;
  integer lp;

  initial begin
    pass = 1'b1;
    for (lp = 0; lp < 16; lp = lp + 1) begin
      var = lp;


      if (lp !== $signed(var+5'b0)) begin
        $display("FAILED: expected %2d, got %2d", lp, $signed(var+5'b0));
        pass = 1'b0;
      end
    end

    if (pass) $display("PASSED");
  end
endmodule
module top;

  reg pass;
  reg [3:0] var;
  integer lp;

  initial begin
    pass = 1'b1;
    for (lp = 0; lp < 16; lp = lp + 1) begin
      var = lp;


      if (lp !== $signed(var+5'b0)) begin
        $display("FAILED: expected %2d, got %2d", lp, $signed(var+5'b0));
        pass = 1'b0;
      end
    end

    if (pass) $display("PASSED");
  end
endmodule