Files
sv2v/test/error/port_init_early.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
177 B
Systemverilog

// pattern: declarations `output a = 1` and `logic a` are incompatible due to invalid initialization at port declaration
module top(a);
output a = 1;
logic a;
endmodule