minix/external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-cstyle-method.m

12 lines
338 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
// rdar: // 7445205
@interface Foo
- (id)test:(id)one, id two;
@end
@implementation Foo
- (id)test:(id )one, id two {return two; } @end
// CHECK-LP64: internal global [11 x i8] c"@24@0:8@16