Files
swift-mirror/test/ClangModules/sdk-bridging-header.swift
Graham Batty 83b4384fac Update test flags for linux failures and support.
Also removed the sdk 'feature' in favour of the more specific
objc_interop.

Swift SVN r24856
2015-01-30 21:31:48 +00:00

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'}}