mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
12 lines
451 B
Plaintext
12 lines
451 B
Plaintext
// RUN: %target-swift-frontend -enable-objc-interop -emit-ir %s | %FileCheck %s
|
|
|
|
// CHECK-LABEL: @"$s30swift_native_objc_runtime_base1CCMm" = hidden global %objc_class {
|
|
// -- metaclass "isa" is root metaclass
|
|
// CHECK: %objc_class* @"OBJC_METACLASS_$_NSObject",
|
|
// -- metaclass "super" is super metaclass
|
|
// CHECK: %objc_class* @"OBJC_METACLASS_$_NSMagicBase"
|
|
@_swift_native_objc_runtime_base(NSMagicBase)
|
|
class C {}
|
|
|
|
sil_vtable C {}
|