mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Also removed the sdk 'feature' in favour of the more specific objc_interop. Swift SVN r24856
13 lines
379 B
Swift
13 lines
379 B
Swift
// RUN: %target-swift-frontend -parse -verify %s -import-objc-header %S/Inputs/sdk-bridging-header.h
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import Foundation
|
|
|
|
let `true` = Predicate.truePredicate()
|
|
let not = Predicate.not()
|
|
let and = Predicate.and([])
|
|
let or = Predicate.or([not, and])
|
|
|
|
let _ = Predicate.foobar() // expected-error{{'Predicate.Type' does not have a member named 'foobar'}}
|