1 2 3 4 5 6 7
// PR c++/80465 // { dg-options -std=c++17 } int foo(...); int main() { [](auto a) noexcept(noexcept(foo(a))){}(42); }