[X86] Move getGFNICtrlMask before CTLZ/CTTZ lowering. NFC.
[llvm-project.git] / clang / test / SemaCXX / diagnose-prioritiy-exception-redefining.cpp
blobad025bf041ce519a6587860ae97c884c4ed00324
1 // RUN: %clang_cc1 -fsyntax-only -verify -fcxx-exceptions -std=c++11 %s
3 struct ExplicitlySpecialMethod {
4 ExplicitlySpecialMethod() = default;
5 };
6 ExplicitlySpecialMethod::ExplicitlySpecialMethod() {} // expected-error{{definition of explicitly defaulted default constructor}}
8 struct ImplicitlySpecialMethod {};
9 ImplicitlySpecialMethod::ImplicitlySpecialMethod() {} // expected-error{{definition of implicitly declared default constructor}}