data/full_repos/permissive/143278/ivltests/scan-invalid.v
1: b'%Error: data/full_repos/permissive/143278/ivltests/scan-invalid.v:10: syntax error, unexpected \')\'\n    res = $sscanf("A string");\n                            ^\n%Error: data/full_repos/permissive/143278/ivltests/scan-invalid.v:11: syntax error, unexpected \')\'\n    res = $sscanf(wval);\n                      ^\n%Error: data/full_repos/permissive/143278/ivltests/scan-invalid.v:12: syntax error, unexpected IDENTIFIER, expecting STRING\n    res = $sscanf("A string", wval);\n                              ^~~~\n%Error: data/full_repos/permissive/143278/ivltests/scan-invalid.v:20: syntax error, unexpected \')\'\n    res = $fscanf(1);\n                   ^\n%Error: data/full_repos/permissive/143278/ivltests/scan-invalid.v:21: syntax error, unexpected \')\'\n    res = $fscanf("A string");\n                            ^\n%Error: data/full_repos/permissive/143278/ivltests/scan-invalid.v:22: syntax error, unexpected IDENTIFIER, expecting STRING\n    res = $fscanf(1, wval);\n                     ^~~~\n%Error: Exiting due to 6 error(s)\n'
module top;
  integer res, idx;
  wire [24*8-1:0] wval;
  wire [24*8-1:0] warr [0:1];
  reg [24*8-1:0] rval;

  initial begin
    idx = 0;

    res = $sscanf("A string");
    res = $sscanf(wval);
    res = $sscanf("A string", wval);
    res = $sscanf("A string", "%s", top);
    res = $sscanf("A string", "%s", wval);
    res = $sscanf("A string", "%s %s", rval, warr[0]);




    res = $fscanf(1);
    res = $fscanf("A string");
    res = $fscanf(1, wval);
    res = $fscanf(1, "%s", top);
    res = $fscanf(1, "%s", wval);
    res = $fscanf(1, "%s %s", rval, warr[0]);

  end
endmodule
module top;

  integer res, idx;
  wire [24*8-1:0] wval;
  wire [24*8-1:0] warr [0:1];
  reg [24*8-1:0] rval;

  initial begin
    idx = 0;

    res = $sscanf("A string");
    res = $sscanf(wval);
    res = $sscanf("A string", wval);
    res = $sscanf("A string", "%s", top);
    res = $sscanf("A string", "%s", wval);
    res = $sscanf("A string", "%s %s", rval, warr[0]);




    res = $fscanf(1);
    res = $fscanf("A string");
    res = $fscanf(1, wval);
    res = $fscanf(1, "%s", top);
    res = $fscanf(1, "%s", wval);
    res = $fscanf(1, "%s %s", rval, warr[0]);

  end
endmodule