Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
constexpr-lambda16.C
blob: ad5d885427cb8767f531e267e6b4e0399f0b3d82 [
file
] [
log
] [
blame
]
// PR c++/80642
// { dg-do compile { target c++14 } }
int
main
()
{
[](
auto
i
)
{
if
(
i
)
{
int
j
;
static
int
k
;
return
i
+
j
;
}
return
i
;
}(
0
);
}