diff options
Diffstat (limited to 'tests/shared-ptr/driver.cxx')
-rw-r--r-- | tests/shared-ptr/driver.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/shared-ptr/driver.cxx b/tests/shared-ptr/driver.cxx index 4b184ac..d0c7f8b 100644 --- a/tests/shared-ptr/driver.cxx +++ b/tests/shared-ptr/driver.cxx @@ -2,10 +2,12 @@ // license : MIT; see accompanying LICENSE file #include <string> -#include <cassert> #include <libcutl/shared-ptr.hxx> +#undef NDEBUG +#include <cassert> + using namespace cutl; struct type @@ -97,7 +99,11 @@ main () // Error handling. This can theoretically can segfault and it trips up // the address sanitizer. // -#ifndef __SANITIZE_ADDRESS__ + // @@ This now also trips Clang 16 on various platforms, so disable for + // now. + // +#if 0 +//#ifndef __SANITIZE_ADDRESS__ { type* x (new type (5, "foo")); |