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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error46.C
blob
be0b813324f311fa5b66376c613bed0e146a21f9
1
// PR c++/51230
2
3
template<int> struct A {};
4
5
template<int N> void foo(A<N>, A<N>); // { dg-message "template" }
6
7
void bar()
8
{
9
foo(A<0>(), A<1>()); // { dg-error "no matching" }
10
}
11
// { dg-message "deduced conflicting values" "" { target *-*-* } 9 }