[libcxx] Fix the support requirements for `std::function` Objective-C++ test.
authorvarconst <varconsteq@gmail.com>
Thu, 3 Nov 2022 21:25:40 +0000 (14:25 -0700)
committervarconst <varconsteq@gmail.com>
Thu, 3 Nov 2022 21:25:57 +0000 (14:25 -0700)
The test requires two features to be supported but only checked for one
of them.

Differential Revision: https://reviews.llvm.org/D137294

libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm

index 186fe22..c9ace62 100644 (file)
@@ -12,7 +12,7 @@
 
 // This test requires the Blocks runtime, which is (only?) available on Darwin
 // out-of-the-box.
-// REQUIRES: has-fblocks && darwin
+// REQUIRES: has-fblocks && has-fobjc-arc && darwin
 
 // ADDITIONAL_COMPILE_FLAGS: -fblocks -fobjc-arc