summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/950921-1.c
blob: f141d510bd783c63a412c03c5aeab63b65afe835 (plain)
1
2
3
4
5
6
7
8
9
10
typedef enum
{
  a = (X) 0,	/* { dg-error "undeclared|not integer|parse error|syntax error|expected" } */
  b
} c;

typedef enum
{
  d = (X) 0	/* { dg-error "undeclared|not integer|parse error|syntax error|expected" } */
} e;