The expression of static_assert
is not an immediate function context
#57627
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106485#c2.
See https://godbolt.org/z/4GMxo13vv.
I think
static_assert(s().empty());
should also be rejected by Clang.The text was updated successfully, but these errors were encountered: