blob: 695b3f811b5fac9c086ddc0ce378871fa77cce46 [file] [log] [blame]
/* APPLE LOCAL file radar 5471096 */
/* Test that an inlinable function in cateogry block has access to
protected/private member of its class though pointer to the class. */
/* { dg-do compile } */
@interface B
{
int intValue;
}
@end
@interface B()
inline static int B_intValue(B *self)
{ return self->intValue; }
@end
@implementation B
@end