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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit-args5.C
blob
d6c9a575f9171ed0d9a70f8f1e9195a3899558c4
1
// PR c++/51613
2
3
template<typename F, typename T>
4
void apply(F f, T t)
5
{
6
f(t);
7
}
8
9
template<typename T>
10
void multi(T)
11
{
12
}
13
14
template<typename T>
15
void multi(T*)
16
{
17
}
18
19
int main()
20
{
21
apply(&multi<int>, 7); // { dg-error "no match" }
22
23
return 0;
24
}