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
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
instantiate1.C
1
// Build don't link:
2
3
template <class T>
4
void f(T t) {}
5
6
template void f<int>(int);
7
template void f<>(long);
8
9
template <class T>
10
struct S
11
{
12
void bar(int) {}
13
14
template <class U>
15
void baz(U u) {}
16
};
17
18
19
template S<char>;
20
template void S<int>::bar(int);
21
template void S<double>::baz<short>(short);
22
template void S<long>::baz<>(char);