verilator/test_regress/t/t_package_identifier_bad.v

17 lines
332 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, 2023 by Antmicro Ltd.
// SPDX-License-Identifier: CC0-1.0
2024-11-11 01:00:16 +00:00
package Foo;
endpackage
2024-11-11 01:00:16 +00:00
package Bar;
static int baz;
endpackage
module t;
2024-11-11 01:00:16 +00:00
int baz = Foo::Bar::baz;
endmodule