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());
};
}