mirror of https://github.com/zachjs/sv2v.git
9 lines
205 B
Systemverilog
9 lines
205 B
Systemverilog
|
|
// pattern: declaration i uses interface name I where a type name is expected
|
||
|
|
// location: interface_name_var.sv:7:12
|
||
|
|
interface I;
|
||
|
|
logic [3:0] x;
|
||
|
|
endinterface
|
||
|
|
module top;
|
||
|
|
if (1) var I i;
|
||
|
|
endmodule
|