data/full_repos/permissive/143278/ivltests/constfunc1.v
 line:5: before: "integer"
data/verilator_xmls/abfa18bd-7399-40e9-bc13-62a1e881f992.xml
function integer median;

input integer a;
input integer b;
input integer c;

begin
  if (a < b)
    begin
      if (a < c)
        median = (b < c) ? b : c;
      else
        median = a;
    end
  else
    begin
      if (a < c)
        median = a;
      else
        median = (b < c) ? c : b;
    end
end

endfunction
function integer median;


input integer a;
input integer b;
input integer c;

begin
  if (a < b)
    begin
      if (a < c)
        median = (b < c) ? b : c;
      else
        median = a;
    end
  else
    begin
      if (a < c)
        median = a;
      else
        median = (b < c) ? c : b;
    end
end

endfunction