Files
swift-mirror/test/ClangModules/sdk-protocol-class.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
385 B
Swift

// RUN: rm -rf %t
// RUN: %target-swift-frontend -parse %s
// RUN: %target-swift-frontend -parse %S/Inputs/sdk-protocol-class/os1.swift
// RUN: %target-swift-frontend -parse %S/Inputs/sdk-protocol-class/os2.swift
// RUN: %target-swift-frontend -parse %S/Inputs/sdk-protocol-class/os3.swift
// REQUIRES: objc_interop
import ObjectiveC
let p: Protocol = objc_getProtocol("NSObject")