verilator/test_regress/t/t_func_ref_noparen.v

18 lines
364 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2025 by Antmicro.
// SPDX-License-Identifier: CC0-1.0
class c;
function f();
endfunction
endclass
module t;
c cinst;
initial begin
cinst = new();
if(cinst.f) begin end
end
endmodule