Lines Matching full:friend
4 friend T;
16 friend typename T::type; // expected-error{{no type named 'type' in 'Y1'}}
39 template <typename S> friend class B<S>::ty;
46 int friend; // expected-error {{'friend' must appear first in a non-function declaration}}
47 unsigned friend int; // expected-error {{'friend' must appear first in a non-function declaration}}
48 const volatile friend int; // expected-error {{'friend' must appear first in a non-function declaration}}
50 friend; // expected-error {{'friend' must appear first in a non-function declaration}}
53 int friend foo(void);
54 friend int;
55 friend const volatile int;
56 friend
59 template<typename T> friend class A<T>::foo;