data/full_repos/permissive/143278/ivltests/constfunc11.v
 line:4: before: "("
1: b'%Warning-WIDTH: data/full_repos/permissive/143278/ivltests/constfunc11.v:8: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS\'s VARREF \'x\' generates 6 bits.\n                                                                          : ... In instance constfunc11\n  repeat (x) begin\n  ^~~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
function [31:0] pow2(input [5:0] x);

begin:body
  pow2 = 1;
  repeat (x) begin
    pow2 = 2 * pow2;
  end
end

endfunction
function [31:0] pow2(input [5:0] x);


begin:body
  pow2 = 1;
  repeat (x) begin
    pow2 = 2 * pow2;
  end
end

endfunction