verilator/test_regress/t/t_implements_collision_bad.v

25 lines
529 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, 2023 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
interface class Icls1;
pure virtual function int icfboth;
endclass
interface class Icls2;
pure virtual function int icfboth;
endclass
interface class IclsBoth extends Icls1, Icls2;
// Bad collision on icfboth
endclass
class Cls implements IclsBoth;
endclass
module t (/*AUTOARG*/);
Cls c;
endmodule