Home | History | Annotate | Download | only in SemaTemplate
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 // PR4794
      4 
      5 template <class T> class X
      6 {
      7   friend class Y;
      8 };
      9 X<int> y;
     10 
     11