commit | c5ba83c8112e27190d4a6f56a0f9eef47a6239fb | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Thu Apr 02 18:37:59 2009 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Thu Apr 02 18:37:59 2009 +0000 |
tree | 0d60ad195a06098b7050ee517a5a2e93446877b8 | |
parent | 2ff26852b6f61aa509774bd605f7f039b6aa24b5 [diff] [blame] |
Fix http://llvm.org/bugs/show_bug.cgi?id=3907. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68338 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaObjC/class-property-access.m b/test/SemaObjC/class-property-access.m new file mode 100644 index 0000000..663b87d --- /dev/null +++ b/test/SemaObjC/class-property-access.m
@@ -0,0 +1,12 @@ +// RUN: clang -fsyntax-only -verify %s + +@interface Test {} ++ (Test*)one; +- (int)two; +@end + +int main () +{ + return Test.one.two; +} +