verilator/test_regress/t/t_class_local_nested_bad.v

26 lines
475 B
Systemverilog

// 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;
class Node;
static local string name;
endclass
string name;
function new();
name = Node::name;
endfunction
endclass
module t;
initial begin
automatic NodeList n = new;
$write("*-* All Finished *-*\n");
$finish;
end
endmodule