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