Lines Matching full:has

8   static int X0; // expected-error{{member 'X0' has the same name as its class}}
18 enum X1 { }; // expected-error{{member 'X1' has the same name as its class}}
22 struct X1a; // expected-error{{member 'X1a' has the same name as its class}}
26 typedef int X2; // expected-error{{member 'X2' has the same name as its class}}
30 using X2a = int; // expected-error{{member 'X2a' has the same name as its class}}
36 template<typename T> struct X2b; // expected-error{{member 'X2b' has the same name as its class}}
42 …template<typename T> static int X2d; // expected-error{{member 'X2d' has the same name as its clas…
45 …template<typename T> using X2e = int; // expected-error{{member 'X2e' has the same name as its cla…
51 X3 // expected-error{{member 'X3' has the same name as its class}}
89 struct D0 : B { using B::D0; }; // expected-error {{member 'D0' has the same name as its class}}
90 struct Da : B { using B::Da; }; // expected-error {{member 'Da' has the same name as its class}}
91 struct D1 : B { using B::D1; }; // expected-error {{member 'D1' has the same name as its class}}
92 struct D1a : B { using B::D1a; }; // expected-error {{member 'D1a' has the same name as its class}}
93 struct D2 : B { using B::D2; }; // expected-error {{member 'D2' has the same name as its class}}
94 struct D2a : B { using B::D2a; }; // expected-error {{member 'D2a' has the same name as its class}}
95 struct D2b : B { using B::D2b; }; // expected-error {{member 'D2b' has the same name as its class}}
96 struct D2c : B { using B::D2c; }; // expected-error {{member 'D2c' has the same name as its class}}
97 struct D2d : B { using B::D2d; }; // expected-error {{member 'D2d' has the same name as its class}}
98 struct D2e : B { using B::D2e; }; // expected-error {{member 'D2e' has the same name as its class}}
99 struct D4 : B { using B::D4; }; // expected-error {{member 'D4' has the same name as its class}}
102 using B::Dtemplate; // expected-error {{member 'Dtemplate' has the same name as its class}}
109 …using B::Dtemplate_with_ctors; // expected-error {{member 'Dtemplate_with_ctors' has the same name…
113 …using B::CtorDtorName; // expected-error {{member 'CtorDtorName' has the same name as its class}} …