aboutsummaryrefslogtreecommitdiff
path: root/tests/shared-ptr/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shared-ptr/driver.cxx')
-rw-r--r--tests/shared-ptr/driver.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/shared-ptr/driver.cxx b/tests/shared-ptr/driver.cxx
index fd8d7f2..d0c7f8b 100644
--- a/tests/shared-ptr/driver.cxx
+++ b/tests/shared-ptr/driver.cxx
@@ -1,11 +1,12 @@
// file : tests/shared-ptr/driver.cxx
-// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// 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;
@@ -98,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"));