We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3cf373 commit c061e66Copy full SHA for c061e66
test/SILGen/cf_curried_init.swift
@@ -0,0 +1,11 @@
1
+// RUN: %target-swift-emit-silgen %s | %FileCheck %s
2
+
3
+// REQUIRES: objc_interop
4
5
+import Foundation
6
+import CoreGraphics
7
8
+let _: (CFURL) -> CGDataProvider? = CGDataProvider.init
9
10
+// CHECK-LABEL: sil private [ossa] @$s15cf_curried_initSo17CGDataProviderRefaSgSo8CFURLRefacfu_ : $@convention(thin) (@guaranteed CFURL) -> @owned Optional<CGDataProvider>
11
+// CHECK-LABEL: sil [available 10.0] [clang CGDataProvider.init] @CGDataProviderCreateWithURL : $@convention(c) (CFURL) -> @owned Optional<CGDataProvider>
0 commit comments