diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/exception_object_alignment.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/exception_object_alignment.pass.cpp b/test/exception_object_alignment.pass.cpp index addef18..960751b 100644 --- a/test/exception_object_alignment.pass.cpp +++ b/test/exception_object_alignment.pass.cpp @@ -28,6 +28,7 @@ int main() { auto i = reinterpret_cast<uintptr_t>(p); auto a = std::alignment_of<S>::value; assert(i % a == 0); + __cxxabiv1::__cxa_free_exception(p); #endif return 0; } |