verilator/test_regress/t/t_class_field_name.v

22 lines
420 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2023 Antmicro Ltd
// SPDX-License-Identifier: CC0-1.0
class Cls;
2026-03-08 23:26:40 +01:00
int queue;
endclass
module t;
2026-03-08 23:26:40 +01:00
initial begin
automatic Cls cls = new;
cls.queue = 1;
if (cls.queue == 1) begin
$write("*-* All Finished *-*\n");
$finish;
end
end
endmodule