summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/decl-3.c
blob: cba0b906db3ef17e8bb57de62abb37191ca93592 (plain)
1
2
3
4
5
/* PR c/9928 */
/* { dg-do compile } */

enum { CODES }; /* { dg-message "note: previous definition" } */
enum { CODES }; /* { dg-error "conflicting types|redeclaration of enumerator" } */