iverilog/ivtest/ivltests/enum_base_fail_range1.v

18 lines
304 B
Verilog

// Check that using a type identifier that resolves to a type with a packed
// dimensions together with another packed dimensions as the base type for an
// enum results in an error.
module test;
typedef int T;
enum T [1:0] {
A
} e;
initial begin
$display("FAILED");
end
endmodule