aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/objcxx-ivar-class.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/objcxx-ivar-class.h')
-rw-r--r--test/PCH/objcxx-ivar-class.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/PCH/objcxx-ivar-class.h b/test/PCH/objcxx-ivar-class.h
new file mode 100644
index 000000000000..50ebda709db0
--- /dev/null
+++ b/test/PCH/objcxx-ivar-class.h
@@ -0,0 +1,15 @@
+struct S {
+ S();
+ S(const S&);
+ S& operator= (const S&);
+};
+
+@interface C {
+ S position;
+}
+@property(assign, nonatomic) S position;
+@end
+
+@implementation C
+ @synthesize position;
+@end