Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Eli Friedman | 1e97108 | 2009-08-27 18:44:04 +0000 | [diff] [blame] | 2 | // PR4794 |
Eli Friedman | 7a61407 | 2009-08-27 18:38:56 +0000 | [diff] [blame] | 3 | |
4 | template <class T> class X | ||||
5 | { | ||||
6 | friend class Y; | ||||
7 | }; | ||||
8 | X<int> y; | ||||
9 |