repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix typo in test case
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
enum2.C
blob
c1a9ae20a88abe33ec092ab961fef5d1d5df25b9
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
};