// RUN: %clang_cc1 -fsyntax-only -std=c++17 %s -verify// expected-no-diagnosticsvoidtest_noexcept(){constautolambda=[](intx){returnx+1;};static_assert(noexcept((int(*)(int))(lambda)),"Lambda-to-function-pointer conversion is expected to be noexcept");}