Home | History | Annotate | Download | only in Parser

Lines Matching full:friend

4   friend class D;
12 friend int x; // expected-error {{'friend' used outside of class}}
14 friend class D {}; // expected-error {{'friend' used outside of class}}
22 friend class A;
24 friend C; // expected-warning {{specify 'class' to befriend}}
25 friend U; // expected-warning {{specify 'union' to befriend}}
26 friend int; // expected-warning {{non-class friend type 'int'}}
28 friend void myfunc();
38 friend // expected-error {{'friend' used outside of class}}