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