property-warn-default-assign.m   [plain text]


/* APPLE LOCAL file radar 5698469 */
/* Check that warning includes use of word 'default' on missing assign attribute. */
/* { dg-options "-fobjc-gc -mmacosx-version-min=10.5" } */
/* { dg-do compile { target *-*-darwin* } } */

#include <Foundation/Foundation.h>

@interface INTF
@property NSDictionary* undoAction; /* { dg-warning "no 'assign', 'retain'" } */  
				    /* { dg-warning "default 'assign' attribute" "" { target *-*-* } 9 } */
@end