Array parameter cannot be used in nested consteval
function call
#57096
Labels
c++20
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
duplicate
Resolved as duplicate
Godbolt link
The following snippet does not compile with Clang (trunk), but does with MSVC and GCC:
The issue can be worked around by making
inner
constexpr
instead ofconsteval
.The text was updated successfully, but these errors were encountered: