2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / noexcept-type17.C
blob734f8f97935da67dd7f83971995f1c87a1f7ce10
1 // PR c++/80465
2 // { dg-do compile { target c++17 } }
4 int foo(...);
5 int main() {
6   [](auto a) noexcept(noexcept(foo(a))){}(42);