mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 12:00:11 -05:00
2017-10-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/79590 * g++.dg/cpp1y/lambda-generic-noexcept1.C: New. From-SVN: r253369
11 lines
204 B
C
11 lines
204 B
C
// PR c++/79590
|
|
// { dg-do compile { target c++14 } }
|
|
|
|
auto f = [](auto x) noexcept(noexcept(x)) { };
|
|
|
|
int main()
|
|
{
|
|
[](auto x) noexcept(noexcept(x)) { } (0);
|
|
[](auto) noexcept(noexcept(0)) { } (0);
|
|
}
|