diff options
-rw-r--r-- | compiler-rt/test/sanitizer_common/TestCases/Linux/assert.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/assert.cc b/compiler-rt/test/sanitizer_common/TestCases/Linux/assert.cc index af0853e6b65..f10ddf3cee1 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Linux/assert.cc +++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/assert.cc @@ -1,7 +1,7 @@ // Test the handle_abort option. // clang-format off -// RUN: %clang %s -o %t +// RUN: %clangxx %s -o %t // RUN: not --crash %run %t 2>&1 | FileCheck --check-prefix=CHECK0 %s // RUN: %env_tool_opts=handle_abort=0 not --crash %run %t 2>&1 | FileCheck --check-prefix=CHECK0 %s // RUN: %env_tool_opts=handle_abort=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK1 %s @@ -10,7 +10,6 @@ // FIXME: implement in other sanitizers. // XFAIL: msan // XFAIL: tsan -// XFAIL: ubsan #include <assert.h> #include <stdio.h> |