sv2v/test/basic/simplify_arg_shadow.sv

9 lines
182 B
Systemverilog

module top;
localparam i = 1234;
function automatic integer f;
input integer i;
f = i + 1;
endfunction
initial $display(i, f(0), f(i + 1));
endmodule