Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
constexpr-lambda25.C
blob: 74db03ff569c495e7d4abfadd6fd5965df1354ac [
file
] [
log
] [
blame
]
// PR c++/92531
// { dg-do compile { target c++17 } }
template
<
typename
XK
>
void
ky
()
noexcept
([]{});
// IFNDR
// Optional error: void(*)() to bool conv in converted constant expression
// { dg-prune-output "converted constant expression" }