blob: 1ae7198e50a28399f1f41e5467cec77784298b81 [file] [log] [blame]
/* APPLE LOCAL file radar 6029624 */
/* Test for const refrence property types. */
/* { dg-options "-m64 -mmacosx-version-min=10.5" } */
/* { dg-do compile { target *-*-darwin* } } */
struct MyStruct
{
float x;
float y;
float z;
};
@interface MyClass
@property (assign, readwrite) const MyStruct& foo;
@property (assign, readwrite) const MyStruct& Myfoo;
@end
@implementation MyClass
@synthesize Myfoo;
@synthesize foo;
@end