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,25 +4,26 @@
// 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;
always_comb foo.quux = '0; // Issue# 1623 - seems legal
always_comb foo.quux = '0;
endmodule endmodule
module Baz(); module Baz;
Foo foo(); Foo foo ();
Bar bar(); Bar bar ();
endmodule endmodule
module t; module t;
Baz baz(); Baz baz ();
initial begin initial begin
$write("*-* All Finished *-*\n"); $write("*-* All Finished *-*\n");
$finish; $finish;
end end
endmodule endmodule