Files
swift-mirror/test/SILGen/objc_bridged_generic_conformance.swift
Joe Groff 9857824fe7 SILGen: Set context generic params for bridging thunks.
So that we do the right thing with thunks for generic ObjC methods. Partially fixes rdar://problem/27869089.
2016-08-16 11:40:39 -07:00

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() {}
}