iverilog/ivtest/ivltests/net_class_fail.v

13 lines
172 B
Verilog

// 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