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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend21.C
blob
854ed67d592f1a1fdec3fb73e3bbf120813dbcf7
1
// { dg-do compile }
2
3
// Origin: ajl13@bellatlantic.net
4
5
// PR c++/5421: ICE for specialization of member function template
6
// as friend.
7
8
struct B {
9
template <class T> void b();
10
};
11
12
template <class T> class A {
13
friend void B::b<T>();
14
};
15
16
static A<int> a;