Debian Codegraph @

clang/test/CodeGenObjC/no-vararg-messaging.m

raw
1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -S -o - %s | FileCheck %s
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
13 void test(void)
14 {
15 [[[[[[Foo alloc] init] retain] autorelease] self] release];
16 }
17
18 // CHECK-NOT: xorb