File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ class NotObjC {}
226
226
// CHECK-NEXT: - (void)initAllTheThings SWIFT_METHOD_FAMILY(none);
227
227
// CHECK-NEXT: - (void)initTheOtherThings SWIFT_METHOD_FAMILY(none);
228
228
// CHECK-NEXT: - (void)initializeEvenMoreThings;
229
+ // CHECK-NEXT: + (Methods * _Nonnull)newWithFoo:(NSInteger)foo SWIFT_WARN_UNUSED_RESULT;
229
230
// CHECK-NEXT: init
230
231
// CHECK-NEXT: @end
231
232
@objc class Methods {
@@ -286,6 +287,8 @@ class NotObjC {}
286
287
@objc func initAllTheThings( ) { }
287
288
@objc ( initTheOtherThings) func setUpOtherThings( ) { }
288
289
@objc func initializeEvenMoreThings( ) { }
290
+
291
+ @objc ( newWithFoo: ) class func make( foo: Int ) -> Methods { return Methods ( ) }
289
292
}
290
293
291
294
typealias AliasForNSRect = NSRect
You can’t perform that action at this time.
0 commit comments