Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ex3.C
blob: 8b8ca9e312dc619c2736adb4d2149731841d5895 [
file
] [
log
] [
blame
]
// { dg-options "-std=gnu++0x" }
template
<
class
X
,
class
Y
,
class
...
Z
>
X f
(
Y
);
void
g
()
{
int
i
=
f
<int>
(
5.6
);
int
j
=
f
(
5.6
);
// { dg-error "no matching" }
f
<void>
(
f
<
int
,
bool
>);
f
<void>
(
f
<int>
);
// { dg-error "no matching" }
}