mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fixes an error emitted on declarations imported from Objective-C, rdar://problem/31776315.
7 lines
201 B
Swift
7 lines
201 B
Swift
// RUN: %target-swift-frontend -emit-sil %s -import-objc-header %S/Inputs/ibaction.h -verify
|
|
// REQUIRES: objc_interop
|
|
|
|
func foo(object: ConformsToIBActionInProtocol) {
|
|
object.actionMethod(object)
|
|
}
|