Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var-24.C
blob: 924b2dbc68e561291d78b3c9d5915b2cdb455815 [
file
] [
log
] [
blame
]
// PR c++/66543
// { dg-do compile { target c++14 } }
// { dg-options "-Wunused-but-set-variable" }
int
main
()
{
auto
f
=
[]()
{
};
[=](
auto
)
{
using
Foo
=
decltype
(
f
());
};
}