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
Fix warnings occured during profiledboostrap on
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
net.C
blob
1f5987d47445c1d8626edc5b093d77a7f31deca3
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;