Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-09-22-a
/
.
/
test
/
Interpreter
/
SDK
/
c_function_pointer_compile.swift
blob: 2556d92245c9c3488f82836d979174503ac0df22 [
file
] [
log
] [
blame
]
// RUN: %target-build-swift -emit-ir %s
// REQUIRES: executable_test
// REQUIRES: objc_interop
import
Darwin
func getAnyValue
<
T
>(
_ opt
:
T
?)
->
T
{
return
opt
!
}
qsort
(
getAnyValue
(
nil
),
0
,
0
,
getAnyValue
(
nil
))