[Bug objc++/47261] New: ICE on @property declaration in the wrong place

nicola at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 11 23:21:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47261

           Summary: ICE on @property declaration in the wrong place
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: objc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: nicola@gcc.gnu.org


The following testcase crashes the ObjC++ compiler (it works with the ObjC one)

/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, December 2010.
 */
/* { dg-do compile } */

@interface A
{
  @property int x;
}
@end

Thanks



More information about the Gcc-bugs mailing list