iverilog/ivtest/ivltests/module_nonansi_fail12.v

11 lines
249 B
Verilog

// Check that declaring multiple non-ANSI module ports with an implicit type and
// the same name is an error. Even if the signal was previously declared as a
// integer typed net.
module test(x);
wire integer x;
input x;
input x;
endmodule