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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
enum2.C
blob
456c205f4d40bcf3e1d2d2450136847ba109cd82
1
// { dg-do assemble }
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
{ // { dg-error "" } previous def
10
val1
11
};
12
13
enum thing
14
{ // { dg-error "" } multiple def
15
val2
16
};