Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template30.C
blob: 0304ba562055b832198a3af84e95f941f1750823 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
,
class
U
>
int
func
(
U
,
T
);
// { dg-message "note" }
template
<
class
T
,
class
U
>
int
func
(
T
,
U
)
// { dg-message "note" }
{
return
2
;
}
int
main
()
{
func
(
0
,
1
);
// { dg-error "ambiguous" }
}