blob: c87b8d0bf9b2c7b04d80d79d889fd9ac9d6af853 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
Eli Friedman56bea432009-08-27 18:44:04 +00002// PR4794
Eli Friedmanc5c54f22009-08-27 18:38:56 +00003
4template <class T> class X
5{
6 friend class Y;
7};
8X<int> y;
9