☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_nothrow_constructible4.C
☽
☼
gcc/testsuite/g++.dg/ext/is_nothrow_constructible4.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
3
#define SA(X) static_assert((X),#X)
4
5
void f()
6
{
7
int x;
8
auto l = [=]{ return x; };
9
typedef decltype(l) C;
10
SA(__is_nothrow_constructible(C,C));
11
}