// PR c++/118630 namespace test1 { template decltype([]{}) a(); } namespace test2 { template struct invoke_result {}; template struct foo {}; template auto b(T&& arg) -> foo> { invoke_result a; return {}; } }