@@ -61,6 +61,7 @@ func nonPointerBits(_ x: Builtin.BridgeObject) -> UInt {
6161
6262// Try without any bits set.
6363if true {
64+ print ( " No bits set " ) // CHECK-NEXT: No bits set
6465 let x = C ( )
6566 let bo = Builtin . castToBridgeObject ( x, 0 . _builtinWordValue)
6667 let bo2 = bo
@@ -88,6 +89,7 @@ if true {
8889
8990// Try with all spare bits set.
9091if true {
92+ print ( " All spare bits set " ) // CHECK-NEXT: All spare bits set
9193 let x = C ( )
9294 let bo = Builtin . castToBridgeObject ( x, NATIVE_SPARE_BITS . _builtinWordValue)
9395
@@ -126,6 +128,7 @@ func nonNativeBridgeObject(_ o: AnyObject) -> Builtin.BridgeObject {
126128// Try with a (probably) tagged pointer. No bits may be masked into a
127129// non-native object.
128130if true {
131+ print ( " Tagged pointer " ) // CHECK-NEXT: Tagged pointer
129132 let x = NSNumber ( value: 22 )
130133 let bo = nonNativeBridgeObject ( x)
131134 let bo2 = bo
@@ -148,6 +151,7 @@ var unTaggedString: NSString {
148151
149152// Try with an un-tagged pointer.
150153if true {
154+ print ( " Untagged pointer " ) // CHECK-NEXT: Untagged pointer
151155 let x = unTaggedString
152156 let bo = nonNativeBridgeObject ( x)
153157 let bo2 = bo
@@ -184,6 +188,8 @@ func hitOptionalSpecifically(_ x: Builtin.BridgeObject?) {
184188}
185189
186190if true {
191+ print ( " BridgeObject " ) // CHECK-NEXT: BridgeObject
192+
187193 // CHECK-NEXT: true
188194 print ( MemoryLayout< Optional< Builtin . BridgeObject>>. size
189195 == MemoryLayout< Builtin . BridgeObject> . size)
0 commit comments