[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGenObjC / encode-cstyle-method.m
blob8b1643e3b3582a4591094668dfb3893720606f5c
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5  -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
3 @interface Foo 
4 - (id)test:(id)one, id two;
5 @end
7 @implementation Foo
8 - (id)test:(id )one, id two {return two; } @end
10 // CHECK-LP64: private unnamed_addr constant [11 x i8] c"@24@0:8@16