repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend49.C
blob
b4d717f5708aabee431c5518059a00d4686c60c5
1
// PR c++/29054
2
// { dg-do compile }
3
4
struct A
5
{
6
template <typename T, typename U> static void create (U) {}
7
};
8
9
struct B
10
{
11
friend void A::create <B, const char *> (const char *);
12
};
13
14
int
15
main ()
16
{
17
A::create<B>("test");
18
}