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++.jason
/
explicit.C
blob
9fcecfd81aea4bae19c64d2ce1bf9f62005f550b
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);