☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
non-dependent29.C
☽
☼
gcc/testsuite/g++.dg/template/non-dependent29.C
code
plain
raw
1
// PR c++/112427
2
3
struct A { int m; void f(); };
4
struct B { A a; };
5
6
template<class T>
7
void f(B b) {
8
int A::*pd = &A::m;
9
b.a.*pd;
10
11
void (A::*pf)() = &A::f;
12
(b.a.*pf)();
13
}