| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -ast-print %s -o %t |
| John McCall | d7eff68 | 2009-09-02 00:55:30 +0000 | [diff] [blame] | 2 | // RUN: not grep '^ *class B' %t |
| 3 | |||||
| 4 | // Tests that the tag decls in friend declarations aren't added to the | ||||
| 5 | // declaring class's decl chain. | ||||
| 6 | |||||
| 7 | class A { | ||||
| 8 | friend class B; | ||||
| 9 | }; | ||||
| 10 | |||||