| 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 | |
| 4 | struct 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(i8*, i8*, i64, i1, i1) |
| 16 | |
| 17 |