Files
swift-mirror/test/Interpreter/SDK/c_function_pointer_compile.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

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))