forked from OSchip/llvm-project
Moved objective-c++ code gen. tests to their own directory and
added a new test case (related to radar 8070772). llvm-svn: 106067
This commit is contained in:
parent
8c0cf0994d
commit
56d3b8c578
|
@ -0,0 +1,28 @@
|
|||
// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
|
||||
|
||||
struct POD {
|
||||
int array[3][4];
|
||||
id objc_obj;
|
||||
};
|
||||
|
||||
struct D {
|
||||
POD pod_array[2][3];
|
||||
};
|
||||
|
||||
@interface I
|
||||
{
|
||||
D Property1;
|
||||
}
|
||||
@property D Property1;
|
||||
- (D) val;
|
||||
- (void) set : (D) d1;
|
||||
@end
|
||||
|
||||
@implementation I
|
||||
@synthesize Property1;
|
||||
- (D) val { return Property1; }
|
||||
- (void) set : (D) d1 { Property1 = d1; }
|
||||
@end
|
||||
// CHECK: {{call.*@objc_memmove_collectable}}
|
||||
// CHECK: {{call.*@objc_memmove_collectable}}
|
||||
|
Loading…
Reference in New Issue