blob: 3f9d934ec88fcc9ee86822dda334d61cbaa9a4c3 [file] [log] [blame]
Galina Kistanova0ccb31c2011-06-03 22:24:54 +00001// REQUIRES: x86-64-registered-target
John McCalld1e40d52011-10-02 01:16:38 +00002// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -S -o - %s | FileCheck %s
Fariborz Jahanianc0ddef22011-03-01 17:28:13 +00003// 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
14void test(void)
15{
16 [[[[[[Foo alloc] init] retain] autorelease] self] release];
17}
18
19// CHECK-NOT: xorb