Add compiler flag test support to LIT. Fix new/delete tests on apple-clang.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@237700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -14,11 +14,8 @@
|
||||
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// NOTE: -fsized-deallocation was only added in clang 3.7
|
||||
// XFAIL: clang-3.4, clang-3.5, clang-3.6
|
||||
|
||||
// NOTE: -fsized-deallocation was only added to GCC in 5.1.
|
||||
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
|
||||
// NOTE: Require that the compiler supports the -fsized-deallocation flag.
|
||||
// REQUIRES: fsized-deallocation
|
||||
|
||||
// RUN: %build -fsized-deallocation
|
||||
// RUN: %run
|
||||
|
@@ -14,11 +14,8 @@
|
||||
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
||||
// NOTE: -fsized-deallocation was only added in clang 3.7
|
||||
// XFAIL: clang-3.4, clang-3.5, clang-3.6
|
||||
|
||||
// NOTE: -fsized-deallocation was only added to GCC in 5.1.
|
||||
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
|
||||
// NOTE: Require that the compiler supports the -fsized-deallocation flag.
|
||||
// REQUIRES: fsized-deallocation
|
||||
|
||||
// RUN: %build -fsized-deallocation
|
||||
// RUN: %run
|
||||
|
Reference in New Issue
Block a user