OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum-clash.C
1
// { dg-do assemble }
2
// { dg-options "-pedantic-errors" }
3
// GROUPS passed arm
4
enum color {red, yellow, green=20, blue};
5
color c = 1; // this should be an error// { dg-error "" } .*
6
int i = yellow;