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
add
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit23.C
1
// Build don't run:
2
// GROUPS passed templates
3
template <class T>
4
int foo(T t) { return 1; }
5
6
template <>
7
int foo<int>(int i) { return 0; }
8
9
int main()
10
{
11
return foo<int>(3.0);
12
}