Files
swift-mirror/test/IDE/annotation_foundation.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

15 lines
404 B
Swift

// RUN: %target-swift-ide-test -annotate -source-filename %s | FileCheck %s
// REQUIRES: objc_interop
// CHECK: import <iMod>Foundation</iMod>
import Foundation
// CHECK: import <iMod>ObjectiveC</iMod>.<iMod>NSObject</iMod>
import ObjectiveC.NSObject
func foo(c1: NSObject, c2: NSObject) {
// CHECK: <Param@[[@LINE-1]]:10>c1</Param> <iFunc@>==</iFunc> <Param@[[@LINE-1]]:24>c2</Param>
c1 == c2
}