Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
());
};
}