verilator/test_regress/t/t_class_param_super.v

19 lines
387 B
Systemverilog

// 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 base #(
type T = int
);
function void fbase();
endfunction
endclass
class ext extends base;
function void fext();
super.fbase();
endfunction
endclass