Skip to content

Commit bd1108f

Browse files
committed
Update test/SILGen/objc_super.swift for native super dispatch
NFC.
1 parent c6352ae commit bd1108f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILGen/objc_super.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -sdk %S/Inputs -I %S/Inputs -enable-source-import %s -emit-silgen | FileCheck %s
1+
// RUN: %target-swift-frontend -use-native-super-method -sdk %S/Inputs -I %S/Inputs -enable-source-import %s -emit-silgen | FileCheck %s
22

33
// REQUIRES: objc_interop
44

@@ -42,7 +42,7 @@ class Wotsit : Hoozit {
4242
class NonObjCSuperInit : Wotsit {
4343
// CHECK-LABEL: sil hidden @_TFC10objc_super16NonObjCSuperInitc{{.*}} : $@convention(method) (@owned NonObjCSuperInit) -> @owned NonObjCSuperInit
4444
init() {
45-
// CHECK: function_ref @_TFC10objc_super6Wotsitc{{.*}} : $@convention(method) (NotInObjC<Int>, @owned Wotsit) -> @owned Wotsit
45+
// CHECK: super_method {{%[0-9]+}} : $NonObjCSuperInit, #Wotsit.init!initializer.1 : Wotsit.Type -> (nope: NotInObjC<Int>) -> Wotsit , $@convention(method) (NotInObjC<Int>, @owned Wotsit) -> @owned Wotsit
4646
super.init(nope: NotInObjC<Int>())
4747
}
4848
}

0 commit comments

Comments
 (0)