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

16 lines
163 B
Objective-C

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