iverilog/ivtest/ivltests/sv_void_cast_fail2.v

13 lines
148 B
Verilog

// Check that void casting a task results in an error
module test;
task t(int x);
endtask
initial begin
void'(t(10));
end
endmodule