iverilog/ivtest/ivltests/enum_in_class_name_coll.v

14 lines
225 B
Coq
Raw Normal View History

// Check that the enum names are added to the lexor scope of the class and
// name collisions with other symbols are reported as errors.
module test;
class C;
enum {
A = 10
} e;
typedef int A;
endclass
endmodule