☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-noexcept1.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/lambda-generic-noexcept1.C
code
plain
raw
1
// PR c++/79590
2
// { dg-do compile { target c++14 } }
3
4
auto f = [](auto x) noexcept(noexcept(x)) { };
5
6
int main()
7
{
8
[](auto x) noexcept(noexcept(x)) { } (0);
9
[](auto) noexcept(noexcept(0)) { } (0);
10
}