1 // RUN: %clang_cc1 -std=c++11 %s -Wdeprecated -verify
2 // RUN: %clang_cc1 -std=c++11 %s -Wdeprecated-copy-dtor -verify
3 // RUN: %clang_cc1 -std=c++11 %s -Wdeprecated-copy-with-dtor -verify
7 ~A() = default; // expected-warning {{definition of implicit copy constructor for 'A' is deprecated because it has a user-declared destructor}}
12 A a2
= a1
; // expected-note {{in implicit copy constructor for 'A' first required here}}