mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This runs all files that have a target-build-swift or target-run-stdlib-swift RUN line in optimize test mode. Swift SVN r29206
13 lines
280 B
Swift
13 lines
280 B
Swift
// Also run this test in optimize test modes.
|
|
// REQUIRES: optimize_test
|
|
|
|
// 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))
|