data/full_repos/permissive/143278/ivltests/recursive_func.v
None: at end of input
1: b'%Error: data/full_repos/permissive/143278/ivltests/recursive_func.v:18: Unsupported: fork statements\n  fork\n  ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/recursive_func.v:37: Unsupported: Ignoring delay on this delayed statement.\n  #1;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 error(s), 1 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function automatic [15:0] factorial;

input [15:0] n;

begin
  factorial = (n > 1) ? factorial(n - 1) * n : n;
end

endfunction
function automatic [15:0] factorial;


input [15:0] n;

begin
  factorial = (n > 1) ? factorial(n - 1) * n : n;
end

endfunction