mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
16 lines
522 B
Swift
16 lines
522 B
Swift
// RUN: %target-swift-emit-silgen -sdk %S/Inputs -I %S/Inputs -enable-source-import %s -enable-objc-interop | %FileCheck %s
|
|
|
|
import Foundation
|
|
|
|
class Butt: NSObject {
|
|
@objc dynamic func butt(_ b: (Int) -> Int) {}
|
|
}
|
|
|
|
class Tubb<GenericParamName>: Butt {
|
|
override func butt(_ b: (Int) -> Int) {
|
|
super.butt(b)
|
|
}
|
|
}
|
|
|
|
// CHECK-LABEL: sil shared [transparent] [serializable] [reabstraction_thunk] [ossa] @$sS2iIyByd_S2iIegyd_TR : $@convention(thin) (Int, @guaranteed @convention(block) @noescape (Int) -> Int) -> Int {
|