verilator/test_regress/t/t_class_param_circ_bad.v
2022-08-28 10:24:55 -04:00

22 lines
451 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 Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
typedef class ClsB;
class ClsA #(parameter PARAM = 12);
ClsB #(PARAM+1) b;
endclass
class ClsB #(parameter PARAM = 12);
ClsA #(PARAM+1) a;
endclass
module t (/*AUTOARG*/);
ClsA #(.PARAM(15)) c; // Bad param name
endmodule