mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
209 B
Swift
9 lines
209 B
Swift
// RUN: %target-swift-frontend -typecheck %s -enable-objc-interop -import-objc-header %S/Inputs/objc_curried_method.h
|
|
|
|
// rdar://problem/32588152
|
|
|
|
func apply(_: (Foo) -> () -> Void) {}
|
|
|
|
apply(Foo.someMethod)
|
|
|