summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/class-property-access.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/class-property-access.m')
-rw-r--r--clang/test/SemaObjC/class-property-access.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/class-property-access.m b/clang/test/SemaObjC/class-property-access.m
new file mode 100644
index 0000000..c46d3fb
--- /dev/null
+++ b/clang/test/SemaObjC/class-property-access.m
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+@interface Test {}
++ (Test*)one;
+- (int)two;
+@end
+
+int main ()
+{
+ return Test.one.two;
+}
+