blob: 867ad6a2904cd5c95ee7effb91d70614c73781e0 [file] [log] [blame]
// { dg-do compile { target c++14 } }
// { dg-options "-Wunused-but-set-parameter" }
auto l = [](auto t) -> decltype(true ? t : 0) { return {}; };
int main()
{
l(42);
}