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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit6.C
blob
ea1f97a742aabdbcfe80d01592453ef92e7f7394
1
// { dg-do link }
2
// { dg-options "-ansi -pedantic-errors -w" }
3
// GROUPS passed templates
4
template <class T>
5
int foo(T t);
6
7
template <>
8
int foo(int i) { return 0; }
9
10
int main()
11
{
12
return foo<int>(3.0);
13
}