Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / enum2.C
blob40328bfc6b9cc9128d278e45cd245536ab217c59
1 // { dg-do assemble  }
3 // Copyright (C) 1999 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 3 Jun 1999 <nathan@acm.org>
6 // We'd like the enum location to be its identifier.
8 enum thing // { dg-error "" } previous def
10   val1
13 enum thing // { dg-error "" } multiple def
15   val2