1 /* PR c/9928 */ 2 /* { dg-do compile } */ 3 4 enum { CODES }; /* { dg-message "note: previous definition" } */ 5 enum { CODES }; /* { dg-error "conflicting types|redeclaration of enumerator" } */ 6