@@ -781,40 +781,40 @@ func testGenericSinglePayloadEnumManyXI() {
781
781
782
782
testGenericSinglePayloadEnumManyXI ( )
783
783
784
- // struct RefPlusEnumResolve {
785
- // let x: SimpleClass
786
- // let y: ResilientSinglePayloadEnumComplex
787
- // }
784
+ struct RefPlusEnumResolve {
785
+ let x : SimpleClass
786
+ let y : ResilientSinglePayloadEnumComplex
787
+ }
788
788
789
- // func testRefPlusEnumResolve() {
790
- // let ptr = allocateInternalGenericPtr(of: RefPlusEnumResolve.self)
789
+ func testRefPlusEnumResolve( ) {
790
+ let ptr = allocateInternalGenericPtr ( of: RefPlusEnumResolve . self)
791
791
792
- // do {
793
- // let x = RefPlusEnumResolve(x: SimpleClass(x: 23), y: .nonEmpty(.nonEmpty1(SimpleClass(x: 23))))
794
- // testGenericInit(ptr, to: x)
795
- // }
792
+ do {
793
+ let x = RefPlusEnumResolve ( x: SimpleClass ( x: 23 ) , y: . nonEmpty( . nonEmpty1( SimpleClass ( x: 23 ) ) ) )
794
+ testGenericInit ( ptr, to: x)
795
+ }
796
796
797
- // do {
798
- // let y = RefPlusEnumResolve(x: SimpleClass(x: 23), y: .nonEmpty(.nonEmpty1(SimpleClass(x: 23))))
799
- // // DISABLED- CHECK: Before deinit
800
- // print("Before deinit")
797
+ do {
798
+ let y = RefPlusEnumResolve ( x: SimpleClass ( x: 23 ) , y: . nonEmpty( . nonEmpty1( SimpleClass ( x: 23 ) ) ) )
799
+ // CHECK: Before deinit
800
+ print ( " Before deinit " )
801
801
802
- // // DISABLED- CHECK-NEXT: SimpleClass deinitialized!
803
- // // DISABLED- CHECK-NEXT: SimpleClass deinitialized!
804
- // testGenericAssign(ptr, from: y)
805
- // }
802
+ // CHECK-NEXT: SimpleClass deinitialized!
803
+ // CHECK-NEXT: SimpleClass deinitialized!
804
+ testGenericAssign ( ptr, from: y)
805
+ }
806
806
807
- // // DISABLED- CHECK-NEXT: Before deinit
808
- // print("Before deinit")
807
+ // CHECK-NEXT: Before deinit
808
+ print ( " Before deinit " )
809
809
810
- // // DISABLED- CHECK-NEXT: SimpleClass deinitialized!
811
- // // DISABLED- CHECK-NEXT: SimpleClass deinitialized!
812
- // testGenericDestroy(ptr, of: RefPlusEnumResolve.self)
810
+ // CHECK-NEXT: SimpleClass deinitialized!
811
+ // CHECK-NEXT: SimpleClass deinitialized!
812
+ testGenericDestroy ( ptr, of: RefPlusEnumResolve . self)
813
813
814
- // ptr.deallocate()
815
- // }
814
+ ptr. deallocate ( )
815
+ }
816
816
817
- // testRefPlusEnumResolve()
817
+ testRefPlusEnumResolve ( )
818
818
819
819
func testResilientSingletonEnumTag( ) {
820
820
let x = switch getResilientSingletonEnumNonEmpty ( SimpleClass ( x: 23 ) ) {
0 commit comments