verilator/test_regress/t/t_class_param_nconst_bad.v

15 lines
343 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, 2020 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
class Cls #(parameter PARAM = 12);
endclass
module t (/*AUTOARG*/);
Cls #(.PARAM($random)) c; // Bad param name
endmodule