]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.old-deja/g++.other/enum2.C
enum5.C: Mark as XFAIL.
[gcc.git] / gcc / testsuite / g++.old-deja / g++.other / enum2.C
1 // Build don't link:
2
3 // Copyright (C) 1999 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 3 Jun 1999 <nathan@acm.org>
5
6 // We'd like the enum location to be its open brace.
7
8 enum thing
9 { // ERROR - previous def
10 val1
11 };
12
13 enum thing
14 { // ERROR - multiple def
15 val2
16 };
This page took 0.039596 seconds and 5 git commands to generate.