llvm-project/clang/test/Rewriter/undef-field-reference-1.m

16 lines
179 B
Objective-C

// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o -
@interface MyDerived
{
@public
int IVAR;
}
@end
MyDerived *pd;
int main() {
return pd->IVAR;
}