Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto48.C
blob: 3e0b9ff601e4b959ebd20ef8c2eab049f8d60b6f [
file
] [
log
] [
blame
]
// PR c++/70540
// { dg-do compile { target c++11 } }
void
foo
()
{
auto
f
=
[&]
{
return
f
;
};
// { dg-error "before deduction" }
}