aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/objc_copyStruct.m
blob: 7bbad866e2b1fb2035e42ed35f5a803695efc617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang -target x86_64-unknown-windows-msvc -fobjc-runtime=ios -Wno-objc-root-class -S -o - -emit-llvm %s | FileCheck %s
// RUN: %clang -target x86_64-apple-ios -fobjc-runtime=ios -Wno-objc-root-class -S -o - -emit-llvm %s | FileCheck %s

struct S {
  float f, g;
};

@interface I
@property struct S s;
@end

@implementation I
@end

// CHECK: declare {{.*}}void @objc_copyStruct(ptr, ptr, i64, i1, i1)