Files
swift-mirror/test/Interpreter/SDK/Cocoa_transitive.swift

13 lines
312 B
Swift

// RUN: %target-build-swift %s
// REQUIRES: executable_test
// FIXME: iOS does not have Cocoa.framework
// REQUIRES: OS=macosx
import Cocoa
// Make sure the ObjectiveC adapter module gets imported, including ObjCSel.
func rdar14759044(obj: NSObject) -> Bool {
return obj.responds(to: "abc") // no-warning
}