llvm-for-llvmta/tools/clang/test/Import/destructor/test.cpp

11 lines
265 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s
// Triggers the deserialization of B's destructor.
B b1;
// CHECK: CXXDestructorDecl
// CHECK-NEXT: ~B 'void () noexcept' virtual
// CHECK-SAME: 'void () noexcept'
// CHECK-SAME: virtual