OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp39.C
1
// Build don't link:
2
// GROUPS passed templates membertemplates
3
template <class T>
4
struct S
5
{
6
template <class U>
7
void f(U u) { g(u); }
8
9
template <class U>
10
void g(U u) { f(u); }
11
};
12
13
void foo()
14
{
15
S<int> si;
16
si.f(3);
17
}