iverilog/ivtest/ivltests/enum_base_fail_string1.v

15 lines
189 B
Verilog

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