iverilog/ivtest/ivltests/sv_class_empty_item.v

23 lines
231 B
Coq
Raw Normal View History

// Check that empty item declarations are supported for classes
module test;
class C;
;
int x;;
task test;
$display("PASSED");
endtask;
;
endclass
C c;
initial begin
c = new;
c.test;
end
endmodule