Files
iverilog/ivtest/ivltests/enum_base_fail_range3.v
T
Lars-Peter Clausen 315bc1908a Add regression tests for enum base type
Check that the behavior for all sorts of base types for enums is correctly
implemented. Both for valid as well as invalid base types.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2022-03-25 21:55:34 +01:00

15 lines
236 B
Verilog

// Check that specifying a vector type with multiple packed dimensions as the
// base type for an enum results in an error.
module test;
enum logic [1:0][1:0] {
A
} e;
initial begin
$display("FAILED");
end
endmodule