2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -ast-print %s -o %t
|
2009-09-02 08:55:30 +08:00
|
|
|
// RUN: not grep '^ *class B' %t
|
|
|
|
|
|
|
|
// Tests that the tag decls in friend declarations aren't added to the
|
|
|
|
// declaring class's decl chain.
|
|
|
|
|
|
|
|
class A {
|
|
|
|
friend class B;
|
|
|
|
};
|
|
|
|
|