Correct test my *really really* overaligning a type.

llvm-svn: 352983
This commit is contained in:
Eric Fiselier 2019-02-03 04:10:38 +00:00
parent b21ed3c57a
commit 365e164fcc
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ struct B {
void BTest(B *b) { delete b; }// expected-error {{deleted}}
struct alignas(32) C {
struct alignas(128) C {
#ifndef HAS_ALIGN
// expected-note@+2 {{deleted}}
#endif
@ -54,7 +54,7 @@ struct D {
};
void DTest(D *d) { delete d; } // expected-error {{deleted}}
struct alignas(64) E {
struct alignas(128) E {
void operator delete(void*) = delete;
void operator delete(E*, std::destroying_delete_t) = delete;
void operator delete(E*, std::destroying_delete_t, std::size_t) = delete;