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
* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec16.C
1
// Build don't link:
2
3
template<class K>
4
struct A {
5
int foo(const K&);
6
int bar(const K&);
7
};
8
9
template<class K>
10
int
11
A<K>::bar(const K& k)
12
{
13
return(foo(k));
14
}
15
16
template<>
17
int
18
A<const char*>::foo(const char*const& k)
19
{
20
return((int)k);
21
}