Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
abi
/
lambda-capture1.C
blob: ad86eff876b493b27c1780e787d703e341a43723 [
file
] [
log
] [
blame
]
// PR c++/84726
// { dg-do compile { target c++11 } }
#define
SA
(
X
)
static_assert
(
X
,
#X)
int
main
()
{
const
int
i
=
42
;
auto
l
=
[=]{
return
i
+
i
;};
SA
(
sizeof
(
l
)
==
1
);
}