Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
constexpr-lambda19.C
blob: c6266c2bfbbe2f611a750bcc017fe04a5a06eb13 [
file
] [
log
] [
blame
]
// PR c++/84098
// { dg-do compile { target c++17 } }
struct
A
{};
template
<
typename
>
struct
Test
{
static
constexpr
auto
var
=
[]{};
};
int
main
(){
(
void
)
Test
<
A
>::
var
;
}