blob: 10b5bee2123497b82cac714e0f3f91a1d0e1fd76 [file] [log] [blame]
/* APPLE LOCAL file radar 5407792 */
/* 'nonatomic' property requires a new 'N' property attribute encoding */
/* { dg-options "-mmacosx-version-min=10.5" { target powerpc*-*-darwin* i?86*-*-darwin* } } */
/* { dg-do compile { target *-*-darwin* } } */
#import <Foundation/Foundation.h>
@interface NonAtomicTest : NSObject {
NSString *foo;
}
@property(copy, nonatomic) NSString *foo;
@end
@implementation NonAtomicTest
@synthesize foo;
@end
/* { dg-final { scan-assembler ".*C,N,Vfoo" } } */