iverilog/ivtest/ivltests/net_class_fail.v

13 lines
172 B
Coq
Raw Normal View History

// Check that declaring a net of a class type results in an error
module test;
class C;
endclass
wire C x;
initial begin
$display("FAILED");
end
endmodule