Home | History | Annotate | Download | only in CodeGenObjC
      1 // REQUIRES: x86-registered-target
      2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10  -S -o - %s | FileCheck %s
      3 // rdar://9048030
      4 
      5 @interface Foo
      6 +(id)alloc;
      7 -(id)init;
      8 -(id)self;
      9 -(id)retain;
     10 -(void)release;
     11 -(id)autorelease;
     12 @end
     13 
     14 void test(void)
     15 {
     16 	[[[[[[Foo alloc] init] retain] autorelease] self] release];
     17 }
     18 
     19 // CHECK-NOT: xorb
     20