☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
net.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/net.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: g++ doesn't instantiate function templates in instantiate_type.
3
4
template <class T> void fn (T t) { }
5
template <class T> struct A {
6
void (*p)(T);
7
A() { p = fn; }
8
};
9
10
A<int> a;