summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/property-getter-dot-syntax.m
blob: f22b0517735d33cb7cc9e81325b2909ec835d934 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm -o %t %s

@protocol NSObject
- (void *)description;
@end

int main()
{
        id<NSObject> eggs;
        void *eggsText= eggs.description;
}