| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
| Eli Friedman | 56bea43 | 2009-08-27 18:44:04 +0000 | [diff] [blame] | 2 | // PR4794 |
| Eli Friedman | c5c54f2 | 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 | |||||