Files
sv2v/test/error/port_redeclare.sv
Zachary Snow 95c2bc996c support for common non-ANSI style port declarations
Specifically, support has been added for non-ANSI style port
declarations where the port declaration is separate from the
corresponding net or variable declaration.
2021-09-06 21:10:49 -04:00

6 lines
152 B
Systemverilog

// pattern: declarations `output logic a` and `logic a` are incompatible due to redeclaration
module top(a);
output logic a;
logic a;
endmodule