Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;