YouCompleteMe/cpp/llvm/tools/clang/test/SemaTemplate/instantiate-friend-class.cpp

10 lines
116 B
C++
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR4794
template <class T> class X
{
friend class Y;
};
X<int> y;