summaryrefslogtreecommitdiff
path: root/test/Rewriter
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-01-21 17:36:00 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-01-21 17:36:00 +0000
commitd0502407c1b41b2ace326f355d7b7a6876246223 (patch)
tree918dbb44bde3fdfa826a1c0c0dd288c7c9b65bd4 /test/Rewriter
parent45db90de59f6effb7bd9a55660ca97aa3feadc6c (diff)
downloadclang-d0502407c1b41b2ace326f355d7b7a6876246223.tar.gz
Patch to implement rewriting of properties.
Fixes radar 7562952. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Rewriter')
-rw-r--r--test/Rewriter/rewrite-protocol-type-1.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Rewriter/rewrite-protocol-type-1.m b/test/Rewriter/rewrite-protocol-type-1.m
index 902559dca6..2bdf8e4622 100644
--- a/test/Rewriter/rewrite-protocol-type-1.m
+++ b/test/Rewriter/rewrite-protocol-type-1.m
@@ -22,3 +22,6 @@ INTF <MyProto1, MyProto2> * Func1(INTF *p2, INTF<MyProto1, MyProto2> *p3, INTF *
return p3;
}
+@interface Foo
+@property int (*hashFunction)(const void *item, int (*size)(const void *item));
+@end