Home | History | Annotate | Download | only in class.friend

Lines Matching defs:s2

35     friend struct S2;
36 friend struct S2* g2();
39 struct S2 { static void f2(); }; // expected-note 2 {{'S2' declared here}}
40 S2* g2() { return 0; } // expected-note 2 {{'g2' declared here}}
52 S2 s2;
54 ::S2 g_s2; // expected-error{{no type named 'S2' in the global namespace; did you mean simply 'S2'?}}
56 X::S2 x_s2; // expected-error{{no type named 'S2' in 'N::X'; did you mean simply 'S2'?}}