xref: /llvm-project/clang/test/CodeGenObjC/objc_copyStruct.m (revision 9466b49171dc4b21f56a48594fc82b1e52f5358a)
1// RUN: %clang -target x86_64-unknown-windows-msvc -fobjc-runtime=ios -Wno-objc-root-class -S -o - -emit-llvm %s | FileCheck %s
2// RUN: %clang -target x86_64-apple-ios -fobjc-runtime=ios -Wno-objc-root-class -S -o - -emit-llvm %s | FileCheck %s
3
4struct S {
5  float f, g;
6};
7
8@interface I
9@property struct S s;
10@end
11
12@implementation I
13@end
14
15// CHECK: declare {{.*}}void @objc_copyStruct(ptr, ptr, i64, i1, i1)
16
17