summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/property-method-lookup-impl.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/property-method-lookup-impl.m')
-rw-r--r--test/SemaObjC/property-method-lookup-impl.m26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/SemaObjC/property-method-lookup-impl.m b/test/SemaObjC/property-method-lookup-impl.m
new file mode 100644
index 0000000..ed7e9bc
--- /dev/null
+++ b/test/SemaObjC/property-method-lookup-impl.m
@@ -0,0 +1,26 @@
+// RUN: clang-cc -fsyntax-only -verify %s
+
+@interface SSyncCEList
+{
+ id _list;
+}
+@end
+
+@implementation SSyncCEList
+
+- (id) list
+{
+}
+@end
+
+@interface SSyncConflictList : SSyncCEList
+@end
+
+@implementation SSyncConflictList
+
+- (id)Meth : (SSyncConflictList*)other
+ {
+ return other.list;
+ }
+@end
+
OpenPOWER on IntegriCloud