Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
error46.C
blob: be0b813324f311fa5b66376c613bed0e146a21f9 [
file
] [
log
] [
blame
]
// PR c++/51230
template
<int>
struct
A
{};
template
<
int
N
>
void
foo
(
A
<
N
>,
A
<
N
>);
// { dg-message "template" }
void
bar
()
{
foo
(
A
<
0
>(),
A
<
1
>());
// { dg-error "no matching" }
}
// { dg-message "deduced conflicting values" "" { target *-*-* } 9 }