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
/
pr88120.C
blob
7004e03f4da738084093dd72a65bd963a8068c41
1
// PR c++/88120
2
// { dg-do compile { target c++11 } }
3
4
typedef int a;
5
enum b : a;
6
class c {
7
enum f { d };
8
c(f);
9
friend c operator&(c, c);
10
typedef void (c::*e)();
11
operator e();
12
};
13
class g {
14
template <typename, typename> b h();
15
struct k {
16
c i;
17
};
18
};
19
template <typename, typename> b g::h() {
20
k j;
21
&j || j.i &c::d;
22
return b();
23
}