Home | History | Annotate | Download | only in temp.friend
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 template<class T> class A { };
      3 
      4 class X {
      5   template<class T> friend class A<T*>; // expected-error{{partial specialization cannot be declared as a friend}}
      6 };
      7