]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaCXX/friend-class-nodecl.cpp
Update clang to r86140.
[FreeBSD/FreeBSD.git] / test / SemaCXX / friend-class-nodecl.cpp
1 // RUN: clang-cc -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