Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_nothrow_constructible4.C
blob: 9448c2d31e457dc473cc1d274c72b4174706c31a [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
#define
SA
(
X
)
static_assert
((
X
),#
X
)
void
f
()
{
int
x
;
auto
l
=
[=]{
return
x
;
};
typedef
decltype
(
l
)
C
;
SA
(
__is_nothrow_constructible
(
C
,
C
));
}