mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Also removed the sdk 'feature' in favour of the more specific objc_interop. Swift SVN r24856
10 lines
206 B
Swift
10 lines
206 B
Swift
// RUN: %target-build-swift -emit-ir %s
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import Dispatch
|
|
|
|
func getAnyValue<T>(opt: T?) -> T { return opt! }
|
|
|
|
dispatch_sync_f(getAnyValue(nil), getAnyValue(nil), getAnyValue(nil))
|