[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CXX / special / class.dtor / p5-implicit.cpp
blob703be15b70cdecbe1ffb5ddcdea5553805a6c543
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
7 struct B : A {};
8 // CHECK-LABEL: CXXRecordDecl {{.*}} struct B
9 // CHECK: Destructor trivial needs_overload_resolution
11 struct C : B {};
12 // CHECK-LABEL: CXXRecordDecl {{.*}} struct C
13 // CHECK: Destructor trivial needs_overload_resolution
15 struct D { ~D(); };
16 struct E : D {};
17 union U {
18 E e;
20 // CHECK-LABEL: CXXRecordDecl {{.*}} union U
21 // CHECK: Destructor non_trivial needs_implicit defaulted_is_deleted