r352983 - Correct test my *really really* overaligning a type.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 2 20:10:38 PST 2019
Author: ericwf
Date: Sat Feb 2 20:10:38 2019
New Revision: 352983
URL: http://llvm.org/viewvc/llvm-project?rev=352983&view=rev
Log:
Correct test my *really really* overaligning a type.
Modified:
cfe/trunk/test/SemaCXX/extended-usual-deallocation-functions.cpp
Modified: cfe/trunk/test/SemaCXX/extended-usual-deallocation-functions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/extended-usual-deallocation-functions.cpp?rev=352983&r1=352982&r2=352983&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/extended-usual-deallocation-functions.cpp (original)
+++ cfe/trunk/test/SemaCXX/extended-usual-deallocation-functions.cpp Sat Feb 2 20:10:38 2019
@@ -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 at +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;
More information about the cfe-commits
mailing list