Test: Update t_interface_parent_scope (#1623)

This commit is contained in:
Wilson Snyder 2025-09-25 07:31:18 -04:00
parent aa6fbd35db
commit 87224db145
2 changed files with 13 additions and 12 deletions

View File

@ -4,15 +4,16 @@
// without warranty, 2019 by Driss Hafdi. // without warranty, 2019 by Driss Hafdi.
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
interface Foo(); interface Foo;
logic quux; logic quux;
endinterface endinterface
module Bar(); module Bar;
// Issue# 1623 - seems legal
always_comb foo.quux = '0; always_comb foo.quux = '0;
endmodule endmodule
module Baz(); module Baz;
Foo foo (); Foo foo ();
Bar bar (); Bar bar ();
endmodule endmodule