verilator/test_regress/t/t_class_super_bad3.v

13 lines
326 B
Systemverilog
Raw Normal View History

2025-09-01 19:07:02 +02:00
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2025 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
//
class Cls;
task t;
i.super.i = 1; // <--- BAD: cannot dot a reference to get super
endtask
endclass