blob: 41e2da6a554d26c998de2467df8d3056defb38f2 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -ast-print %s -o %t
John McCalld7eff682009-09-02 00:55:30 +00002// 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
7class A {
8 friend class B;
9};
10