forked from OSchip/llvm-project
Correct test my *really really* overaligning a type.
llvm-svn: 352983
This commit is contained in:
parent
b21ed3c57a
commit
365e164fcc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue