llvm-project/clang/test/SemaObjC/static-ivar-ref-1.m

17 lines
169 B
Mathematica
Raw Normal View History

// RUN: clang -ast-print %s
@interface current
{
int ivar;
int ivar1;
int ivar2;
}
@end
current *pc;
int foo()
{
return pc->ivar2 + (*pc).ivar + pc->ivar1;
}