Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 // <rdar://problem/10204947>
      4 namespace N {
      5   class X;
      6 };
      7 
      8 class N::X {
      9   template<typename T> friend const T& f(const X&);
     10   friend const int& g(const X&);
     11   friend class Y;
     12 };
     13