Files
iverilog/ivtest/ivltests/net_class_fail.v
T
Lars-Peter Clausen 2921e66105 Add regression test for invalid net data types
Add regression tests that check that declaring a net of type class, dynamic
array, queue or string result in an error.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2022-03-03 10:30:28 +01:00

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