1 // PR c++/79590 2 // { dg-do compile { target c++14 } } 3 noexcept(noexcept (x))4 auto f = [](auto x) noexcept(noexcept(x)) { }; 5 main()6 int main() 7 { 8 [](auto x) noexcept(noexcept(x)) { } (0); 9 [](auto) noexcept(noexcept(0)) { } (0); 10 } 11