repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
net.C
blob
be8b962ad80576e8ed25b6ab9e7f83401b9b4caa
1
// Bug: g++ doesn't instantiate function templates in instantiate_type.
2
// Build don't link:
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;