iverilog/ivtest/ivltests/module_nonansi_fail10.v

8 lines
203 B
Verilog

// Check that declaring a non-ANSI module port with an explicit type for a
// signal that was previously declared as a real variable is an error.
module test(x);
real x;
output integer x;
endmodule