https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 --- Comment #4 from M Welinder <terra at gnome dot org> --- That version of clang does not do "using enum" at all. clang 13 accepts this code, but it has other issues with "using enum".