File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
validation-test/Reflection Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
// RUN: %target-run %target-swift-reflection-test %t/inherits_NSObject | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
4
4
5
5
// REQUIRES: objc_interop
6
+ // REQUIRES: executable_test
6
7
7
8
import Foundation
8
9
@@ -39,7 +40,7 @@ reflect(object: inheritsNSObject)
39
40
// CHECK-32: (class inherits_NSObject.InheritsNSObject)
40
41
41
42
// CHECK-32: Type info:
42
- // CHECK-32: (class_instance size=4 alignment=8 stride=8 num_extra_inhabitants=0)
43
+ // CHECK-32: (class_instance size=4 alignment=16 stride=16 num_extra_inhabitants=0)
43
44
44
45
let sc = ContainsInheritsNSObject ( )
45
46
reflect ( object: sc)
@@ -60,7 +61,7 @@ reflect(object: sc)
60
61
// CHECK-32: (class inherits_NSObject.ContainsInheritsNSObject)
61
62
62
63
// CHECK-32: Type info:
63
- // CHECK-32: (class_instance size=12 alignment=8 stride=16 num_extra_inhabitants=0
64
+ // CHECK-32: (class_instance size=12 alignment=16 stride=16 num_extra_inhabitants=0
64
65
// CHECK-32-NEXT: (field name=a offset=4
65
66
// CHECK-32-NEXT: (reference kind=strong refcounting=unknown))
66
67
// CHECK-32-NEXT: (field name=_b offset=8
You can’t perform that action at this time.
0 commit comments