data/full_repos/permissive/143278/ivltests/pr2800985b.v
1: b'%Error: data/full_repos/permissive/143278/ivltests/pr2800985b.v:11: Unsupported or unknown PLI call: $ferror\n    errno = $ferror("string", result);   \n            ^~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/pr2800985b.v:12: Unsupported or unknown PLI call: $ferror\n    errno = $ferror(fd);                 \n            ^~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/pr2800985b.v:13: Unsupported or unknown PLI call: $ferror\n    errno = $ferror(fd, "string");       \n            ^~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/pr2800985b.v:14: Unsupported or unknown PLI call: $ferror\n    errno = $ferror(fd, sresult);        \n            ^~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/pr2800985b.v:15: Unsupported or unknown PLI call: $ferror\n    errno = $ferror(fd, result, "xx");   \n            ^~~~~~~\n%Error: Exiting due to 5 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module top;
  integer errno, fd;
  reg [639:0] result;
  reg [63:0] sresult;

  initial begin
    fd = 0;
    errno = $ferror("string", result);
    errno = $ferror(fd);
    errno = $ferror(fd, "string");
    errno = $ferror(fd, sresult);
    errno = $ferror(fd, result, "xx");
  end
endmodule
module top;

  integer errno, fd;
  reg [639:0] result;
  reg [63:0] sresult;

  initial begin
    fd = 0;
    errno = $ferror("string", result);
    errno = $ferror(fd);
    errno = $ferror(fd, "string");
    errno = $ferror(fd, sresult);
    errno = $ferror(fd, result, "xx");
  end
endmodule