iverilog/ivtest/ivltests/module_nonansi_fail6.v

9 lines
250 B
Verilog

// Check that declaring an integer typed net for a signal that was previously
// declared as a non-ANSI module port is an error. Even if the types for both
// declarations are the same.
module test(x);
input integer x;
wire integer x;
endmodule