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
2012-04-03 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
undeclared-1.c
1
/* Test for no ICE with an undeclared identifier in an enum in old-style
2
parameter decls. PR 12560. */
3
/* { dg-options "-w" } */
4
5
foo(c)
6
enum { a = b } c; /* { dg-error "undeclared|for each" } */
7
{
8
}