summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/property-method-lookup-impl.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/property-method-lookup-impl.m')
-rw-r--r--clang/test/SemaObjC/property-method-lookup-impl.m24
1 files changed, 24 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/property-method-lookup-impl.m b/clang/test/SemaObjC/property-method-lookup-impl.m
new file mode 100644
index 0000000..19d4e68
--- /dev/null
+++ b/clang/test/SemaObjC/property-method-lookup-impl.m
@@ -0,0 +1,24 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+
+@interface SSyncCEList
+{
+ id _list;
+}
+@end
+
+@implementation SSyncCEList
+
+- (id) list { return 0; }
+@end
+
+@interface SSyncConflictList : SSyncCEList
+@end
+
+@implementation SSyncConflictList
+
+- (id)Meth : (SSyncConflictList*)other
+ {
+ return other.list;
+ }
+@end
+