iverilog/ivtest/ivltests/task_nonansi_fail8.v

15 lines
263 B
Verilog

// Check that declaring an integer typed variable for a signal that was previously
// declared as a real typed non-ANSI task port is an error.
module test;
task t;
output real x;
integer x;
$display("FAILED");
endtask
initial t();
endmodule