1 // RUN: %clang_cc1 -std=c++11 %s -ast-dump | FileCheck %s
3 struct A
{ ~A() = delete; };
4 // CHECK-LABEL: CXXRecordDecl {{.*}} struct A
5 // CHECK: Destructor trivial user_declared
8 // CHECK-LABEL: CXXRecordDecl {{.*}} struct B
9 // CHECK: Destructor trivial needs_overload_resolution
12 // CHECK-LABEL: CXXRecordDecl {{.*}} struct C
13 // CHECK: Destructor trivial needs_overload_resolution
20 // CHECK-LABEL: CXXRecordDecl {{.*}} union U
21 // CHECK: Destructor non_trivial needs_implicit defaulted_is_deleted