blob: 17cf2dc9d3ffe8ab8d3352c6c06d75e27a654982 [file] [log] [blame]
/* APPLE LOCAL file radar 4869979 */
/* Check that an instance method with 'bycopy' return type issues a warning when the
object it is returning does not conform to NSCoding protocol. */
/* { dg-do compile { target *-*-darwin* } } */
#include <Cocoa/Cocoa.h>
@interface MyClass : NSObject
{
}
- (bycopy NSManagedObjectID*) myMethod; /* { dg-warning "\"bycopy\" specified on instance method type" } */
@end