diff options
Diffstat (limited to 'tests/shared-ptr/driver.cxx')
-rw-r--r-- | tests/shared-ptr/driver.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/shared-ptr/driver.cxx b/tests/shared-ptr/driver.cxx index e0f9f78..d0c7f8b 100644 --- a/tests/shared-ptr/driver.cxx +++ b/tests/shared-ptr/driver.cxx @@ -2,9 +2,11 @@ // license : MIT; see accompanying LICENSE file #include <string> -#include <cassert> -#include <cutl/shared-ptr.hxx> +#include <libcutl/shared-ptr.hxx> + +#undef NDEBUG +#include <cassert> using namespace cutl; @@ -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")); |