summaryrefslogtreecommitdiff
path: root/clang/test/SemaTemplate/instantiate-friend-class.cpp
blob: c87b8d0bf9b2c7b04d80d79d889fd9ac9d6af853 (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR4794

template <class T> class X
{
  friend class Y;
};
X<int> y;