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