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