mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
15 lines
459 B
Swift
15 lines
459 B
Swift
// RUN: %target-swift-emit-silgen(mock-sdk: %clang-importer-sdk) %s | %FileCheck %s
|
|
// REQUIRES: objc_interop
|
|
|
|
// rdar://problem/30030229
|
|
|
|
import Foundation
|
|
|
|
class MyDictionary: NSDictionary {
|
|
// CHECK-LABEL: sil hidden [ossa] @$s4main12MyDictionaryC31callSuperNonObjCExtensionMethodyySiF
|
|
func callSuperNonObjCExtensionMethod(_ x: Int) {
|
|
// CHECK-NOT: super_method {{.*}} #NSDictionary.nonObjCExtensionMethod
|
|
super.nonObjCExtensionMethod(x)
|
|
}
|
|
}
|