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
* c-common.c (catenate_strings): New.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
explicit.C
blob
e227792a034cfda820bf19904d0b74f080ec05f1
1
// { dg-do assemble }
2
// Testcase for explicit instantiation of templates.
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);