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
/
crash52.C
1
// Build don't link:
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
template <class T>
5
struct S1
6
{
7
template <class U>
8
struct S2
9
{
10
S2(U);
11
};
12
13
template <class U>
14
void f(U u)
15
{
16
S2<U> s2u(u);
17
}
18
};
19
20
void g()
21
{
22
S1<int> s1;
23
s1.f(3.0);
24
}
25