1 // RUN: %clang_cc1 -std=c++20 -verify %s
7 using enum A::+; // expected-error {{using enum requires an enum or typedef name}}
8 using enum; // expected-error {{using enum requires an enum or typedef name}}
9 using enum class; // expected-error {{using enum requires an enum or typedef name}}
10 using enum enum q
; // expected-error {{using enum does not permit an elaborated enum specifier}}