isolate interface name resolution checks

This commit is contained in:
Zachary Snow
2022-07-17 20:32:56 -04:00
parent 6e8659a537
commit 59b416f9b4
6 changed files with 344 additions and 53 deletions
+12
View File
@@ -0,0 +1,12 @@
// pattern: inlining instance "mod" of module "Module" would make expression "x" used in "mod" resolvable when it wasn't previously
// location: interface_bad_expr_module.sv:6:5
interface Interface;
endinterface
module Module(Interface i);
assign x = 1;
endmodule
module top;
wire x;
Interface intf();
Module mod(intf);
endmodule