repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
overload10.C
blob
088b9d291cbceedff921a74f3e7cf3ec317f9bfa
1
// PR c++40342
2
3
template <typename T1, typename T2> int f(T1 *, const T2 *); // { dg-error "" }
4
template <typename T1, typename T2> int f(const T1 *, T2 *); // { dg-error "" }
5
6
int (*p)(const int *, const int *) = f; // { dg-error "ambiguous" }