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
new
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
explicit.C
1
// Testcase for explicit instantiation of templates.
2
// Build don't link:
3
4
template <class T>
5
class A {
6
T t;
7
public:
8
void f () { }
9
};
10
11
template class A<int>;
12
13
template <class T> T min (T a, T b) { return (a < b ? a : b); }
14
15
template int min (int, int);