mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
So that we do the right thing with thunks for generic ObjC methods. Partially fixes rdar://problem/27869089.
9 lines
247 B
Swift
9 lines
247 B
Swift
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-silgen %s -import-objc-header %S/Inputs/objc_bridged_generic_conformance.h -verify
|
|
// REQUIRES: objc_interop
|
|
|
|
protocol P { func test() }
|
|
|
|
extension Thingy: P {
|
|
func test() {}
|
|
}
|