summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/property.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/property.m')
-rw-r--r--clang/test/CodeGenObjC/property.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/property.m b/clang/test/CodeGenObjC/property.m
index 3cc9200f333..30f68e5b27f 100644
--- a/clang/test/CodeGenObjC/property.m
+++ b/clang/test/CodeGenObjC/property.m
@@ -112,3 +112,14 @@ void test4(Test4 *t) {
@implementation Test5
@synthesize x = _x;
@end
+
+// rdar://problem/10410531
+@interface Test6
+@property void (*prop)(void);
+@end
+
+void test6_func(void);
+void test6(Test6 *a) {
+ a.prop = test6_func;
+}
+
OpenPOWER on IntegriCloud