aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/noexcept-type17.C
blob: c8c731b5bbdb85c47f08f2fe9714a6a23d048e5c (plain)
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);
}