Skip to content

Commit 08204ef

Browse files
committed
Losen the test for the initizlier in the Subclass since it’s unavailable on some platforms and won’t be printed
1 parent 7a9bca9 commit 08204ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/PrintAsObjC/availability.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
// CHECK-NEXT: - (nonnull instancetype)initWithFirst:(NSInteger)first second:(NSInteger)second SWIFT_UNAVAILABLE;
180180
// CHECK-NEXT: - (nonnull instancetype)initWithDeprecatedFirst:(NSInteger)first second:(NSInteger)second SWIFT_UNAVAILABLE;
181181
// CHECK-NEXT: - (nonnull instancetype)initWithDeprecatedOnMacOSFirst:(NSInteger)first second:(NSInteger)second SWIFT_UNAVAILABLE;
182-
// CHECK-NEXT: @end
182+
// CHECK: @end
183183

184184
// CHECK-LABEL: SWIFT_AVAILABILITY(macos,deprecated=0.0.1,message="'DeprecatedAvailability' has been renamed to 'SWTReplacementAvailable'")
185185
// CHECK-LABEL: @interface DeprecatedAvailability

0 commit comments

Comments
 (0)