We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d546e commit ec0f68cCopy full SHA for ec0f68c
test/1_stdlib/ManagedBuffer.swift
@@ -12,13 +12,12 @@
12
// RUN: %target-run-simple-swift
13
// REQUIRES: executable_test
14
15
-// FIXME: rdar://problem/19648117 Needs splitting objc parts out
16
-// XFAIL: linux
17
-
18
import StdlibUnittest
19
20
+#if _runtime(_ObjC)
21
import Foundation
+#endif
22
23
// Check that `NonObjectiveCBase` can be subclassed and the subclass can be
24
// created.
@@ -262,8 +261,10 @@ tests.test("isUniquelyReferencedNonObjC") {
262
261
var s2 = s
263
expectFalse(isUniquelyReferencedNonObjC(&s))
264
expectFalse(isUniquelyReferencedNonObjC(&s2))
265
var s3 = NSArray()
266
expectFalse(isUniquelyReferencedNonObjC(&s3))
267
268
_fixLifetime(s)
269
_fixLifetime(s2)
270
}
0 commit comments