1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
16 lines
417 B
Objective-C
16 lines
417 B
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -emit-llvm %s -o - | FileCheck %s
|
|
|
|
// rdar://problem/10290317
|
|
@interface Test0
|
|
- (void) setValue: (id) x;
|
|
@end
|
|
void test0(Test0 *t0, id value) {
|
|
t0.value = value;
|
|
}
|
|
// CHECK: define void @test0(
|
|
// CHECK: call i8* @objc_retain(
|
|
// CHECK: call i8* @objc_retain(
|
|
// CHECK: @objc_msgSend
|
|
// CHECK: call void @objc_release(
|
|
// CHECK: call void @objc_release(
|