fails to compile. Note that if the scoped enum is specified using a qualified-id whose leading nested-name-specifier contains a splice, everything works okay.
struct S { enum class EnumCls { A, B, C }; };
using enum [:^S:]::EnumCls;
This suggests a special case is probably needed for the l_splice token (possibly also annot_splice? TBD) while parsing a using-enum-declarator.
Given a scoped enum
the using-enum-declatation
fails to compile. Note that if the scoped enum is specified using a qualified-id whose leading nested-name-specifier contains a splice, everything works okay.
This suggests a special case is probably needed for the
l_splice
token (possibly alsoannot_splice
? TBD) while parsing a using-enum-declarator.