data/full_repos/permissive/143278/ivltests/sv_port_default14.v
 line:10: before: "("
1: b"%Error: data/full_repos/permissive/143278/ivltests/sv_port_default14.v:23: syntax error, unexpected ',', expecting TYPE-IDENTIFIER\n  $display(a,,b,,c);\n             ^\n%Error: data/full_repos/permissive/143278/ivltests/sv_port_default14.v:27: syntax error, unexpected ',', expecting TYPE-IDENTIFIER\n  $display(a,,b,,c);\n             ^\n%Error: data/full_repos/permissive/143278/ivltests/sv_port_default14.v:31: syntax error, unexpected ',', expecting TYPE-IDENTIFIER\n  $display(a,,b,,c);\n             ^\n%Error: data/full_repos/permissive/143278/ivltests/sv_port_default14.v:35: syntax error, unexpected ',', expecting TYPE-IDENTIFIER\n  $display(a,,b,,c);\n             ^\n%Error: Exiting due to 4 error(s)\n"
module test();

integer a;
integer b;
integer c;

task k(input integer i = a, output integer j = b);
  j = i;
endtask

integer result;

reg fail = 0;

initial begin
  a = 1;
  b = 2;

  k(3,c);
  $display(a,,b,,c);
  if (a !== 1 || b !== 2 || c !== 3) fail = 1;

  k(,c);
  $display(a,,b,,c);
  if (a !== 1 || b !== 2 || c !== 1) fail = 1;

  k(4,);
  $display(a,,b,,c);
  if (a !== 1 || b !== 4 || c !== 1) fail = 1;

  k();
  $display(a,,b,,c);
  if (a !== 1 || b !== 1 || c !== 1) fail = 1;

  if (fail)
    $display("FAILED");
  else
    $display("PASSED");
end

endmodule
module test();


integer a;
integer b;
integer c;

task k(input integer i = a, output integer j = b);
  j = i;
endtask

integer result;

reg fail = 0;

initial begin
  a = 1;
  b = 2;

  k(3,c);
  $display(a,,b,,c);
  if (a !== 1 || b !== 2 || c !== 3) fail = 1;

  k(,c);
  $display(a,,b,,c);
  if (a !== 1 || b !== 2 || c !== 1) fail = 1;

  k(4,);
  $display(a,,b,,c);
  if (a !== 1 || b !== 4 || c !== 1) fail = 1;

  k();
  $display(a,,b,,c);
  if (a !== 1 || b !== 1 || c !== 1) fail = 1;

  if (fail)
    $display("FAILED");
  else
    $display("PASSED");
end

endmodule