[TableGen] Fix validateOperandClass for non Phyical Reg (#118146)
[llvm-project.git] / clang / test / CodeGenObjC / no-vararg-messaging.m
blob1c9e6673c64ebcc9b6e6b36539cf347227b2e635
1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10  -S -o - %s | FileCheck %s
4 @interface Foo
5 +(id)alloc;
6 -(id)init;
7 -(id)self;
8 -(id)retain;
9 -(void)release;
10 -(id)autorelease;
11 @end
13 void test(void)
15         [[[[[[Foo alloc] init] retain] autorelease] self] release];
18 // CHECK-NOT: xorb