Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
error9.C
blob: b712c7d849a273b430510f61e34fb9c08268a97d [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
void
f
(
int
)
{
}
auto
f
(
bool
)
{
return
f
(
true
);
}
// { dg-error "auto" }
void
(*
ptr
)(
int
)
=
&
f
;