repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum43.C
blob
b2cd9797a06be400f5779cf8c277f2a1824054f0
1
// PR c++/101869
2
3
enum E { A };
4
E operator & (E e)
5
{
6
return e;
7
}
8
E f(void)
9
{
10
return &E::A; // { dg-error "not a class" "" { target c++98_only } }
11
}