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