☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp72.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/memtemp72.C
code
plain
raw
1
// { dg-do assemble }
2
3
template<class P> struct B
4
{
5
template<class T> void f(T& t) { t = T(); }
6
};
7
8
enum ptype { t1, t2};
9
10
struct D : public B<ptype>
11
{
12
void g(double& d) { f(d); }
13
};
14
15
16
D d;
17