llvm-project/clang/test/CodeGenObjC/property-getter-dot-syntax.m

12 lines
172 B
Objective-C

// RUN: %clang_cc1 -emit-llvm -o %t %s
@protocol NSObject
- (void *)description;
@end
int main()
{
id<NSObject> eggs;
void *eggsText= eggs.description;
}