mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
16 lines
353 B
Systemverilog
16 lines
353 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
// any use, without warranty, 2022 by Antmicro Ltd.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
class Foo;
|
|
endclass
|
|
|
|
class Bar extends Foo;
|
|
int m_field = get_1();
|
|
function int get_1();
|
|
return 1;
|
|
endfunction
|
|
endclass
|