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

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