mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fixes a crash when emitting debug info for ObjC generic extensions. Part of rdar://problem/26867815.
14 lines
243 B
Swift
14 lines
243 B
Swift
|
|
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -emit-ir -g -verify
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import Swift
|
|
import Foundation
|
|
import objc_generics
|
|
|
|
extension GenericClass {
|
|
func method() {}
|
|
class func classMethod() {}
|
|
}
|