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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash52.C
blob
4d2de6198a3696f29ff9ca654cb329740881293a
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