Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted18.C
blob: ef29f30771db133fe9be9ef26dda788f584aea2f [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
void
f
(
char
i
,
int
j
)
=
delete
;
// { dg-message "(deleted)" }
void
f
(
int
i
,
...);
// { dg-message "void f" }
int
main
()
{
f
(
1
,
1
);
// { dg-error "ambiguous" }
}