☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaCXX
/
friend-class-nodecl.cpp
☽
☼
clang/test/SemaCXX/friend-class-nodecl.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -ast-print %s -o %t
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