blob: f72820a4b66e1c8a5913f7356a239738e1edd395 [file] [log] [blame]
Fariborz Jahanianc0ddef22011-03-01 17:28:13 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S -o - %s | FileCheck %s
2// rdar://9048030
3
4@interface Foo
5+(id)alloc;
6-(id)init;
7-(id)self;
8-(id)retain;
9-(void)release;
10-(id)autorelease;
11@end
12
13void test(void)
14{
15 [[[[[[Foo alloc] init] retain] autorelease] self] release];
16}
17
18// CHECK-NOT: xorb