llvm-for-llvmta/tools/clang/test/CodeGenObjC/objc_copyStruct.m

17 lines
410 B
Mathematica
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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(i8*, i8*, i64, i1, i1)