diff --git a/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp b/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp index f71cf19cc..e02c594c5 100644 --- a/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp +++ b/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp @@ -21,7 +21,7 @@ // NOTE: Only clang-3.7 and GCC 5.1 and greater support -fsized-deallocation. -// REQUIRES: fsized-deallocation +// REQUIRES: -fsized-deallocation // RUN: %build -fsized-deallocation // RUN: %run diff --git a/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp b/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp index d5b610f71..21ae88944 100644 --- a/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp +++ b/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp @@ -20,7 +20,7 @@ // XFAIL: availability_markup=macosx10.7 // NOTE: Only clang-3.7 and GCC 5.1 and greater support -fsized-deallocation. -// REQUIRES: fsized-deallocation +// REQUIRES: -fsized-deallocation // RUN: %build -fsized-deallocation -O3 // RUN: %run diff --git a/utils/libcxx/test/config.py b/utils/libcxx/test/config.py index 62a13938b..7467511cd 100644 --- a/utils/libcxx/test/config.py +++ b/utils/libcxx/test/config.py @@ -446,7 +446,7 @@ class Configuration(object): # Run a compile test for the -fsized-deallocation flag. This is needed # in test/std/language.support/support.dynamic/new.delete if self.cxx.hasCompileFlag('-fsized-deallocation'): - self.config.available_features.add('fsized-deallocation') + self.config.available_features.add('-fsized-deallocation') if self.cxx.hasCompileFlag('-faligned-allocation'): self.config.available_features.add('-faligned-allocation')