/* APPLE LOCAL file radar 5607453 */ /* Test that test case does not crash when trying to issue a warning (radar 5096444) */ /* { dg-options "-mmacosx-version-min=10.5 -fobjc-gc" } */ /* { dg-do compile } */ @protocol PROTO @end @interface Foo @property id <PROTO> prop; /* { dg-warning "no 'assign', 'retain', or 'copy' attribute is specified" } */ @property Class <PROTO> prop1; @end