brintos

brintos / llvm-project-archived public Read only

0
0
Text · 210 B · 41e2da6 Raw
11 lines · cpp
1// RUN: %clang_cc1 -ast-print %s -o %t2// RUN: not grep '^ *class B' %t3 4// Tests that the tag decls in friend declarations aren't added to the5// declaring class's decl chain.6 7class A {8  friend class B;9};10 11