iverilog/ivtest/ivltests/enum_base_fail_darray.v

17 lines
213 B
Coq
Raw Normal View History

// Check that using a dynamic array type as the base type for an enum results in
// an error.
module test;
typedef logic T[];
enum T {
A
} e;
initial begin
$display("FAILED");
end
endmodule