verilator/test_regress/t/t_class_local_nested_bad.v

26 lines
475 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain
// SPDX-FileCopyrightText: 2025 Antmicro
// SPDX-License-Identifier: CC0-1.0
class NodeList;
2026-03-08 23:26:40 +01:00
class Node;
static local string name;
endclass
2026-03-08 23:26:40 +01:00
string name;
function new();
name = Node::name;
endfunction
endclass
module t;
2026-03-08 23:26:40 +01:00
initial begin
automatic NodeList n = new;
2026-03-08 23:26:40 +01:00
$write("*-* All Finished *-*\n");
$finish;
end
endmodule