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

Lines Matching full:friend

5   friend static class B; // expected-error {{'static' is invalid in friend declarations}}
6 friend extern class C; // expected-error {{'extern' is invalid in friend declarations}}
8 friend register class E; // expected-error {{'register' is invalid in friend declarations}}
10 friend register class E; // expected-error {{'register' is invalid in friend declarations}}
12 friend mutable class F; // expected-error {{'mutable' is invalid in friend declarations}}
13 friend typedef class G; // expected-error {{'typedef' is invalid in friend declarations}}
14 friend __thread class G; // expected-error {{'__thread' is invalid in friend declarations}}
15 friend _Thread_local class G; // expected-error {{'_Thread_local' is invalid in friend declarations}}
16 friend static _Thread_local class G; // expected-error {{'static _Thread_local' is invalid in friend declarations}}
18 friend auto class D; // expected-warning {{incompatible with C++11}} expected-error {{'auto' is invalid in friend declarations}}
20 friend thread_local class G; // expected-error {{'thread_local' is invalid in friend declarations}}