rt_gccstream/gcc/testsuite/objc.dg/anon-1.m

15 lines
191 B
Objective-C

/* Test for graceful handling of anonymous ivars. */
/* { dg-do compile } */
@interface Foo {
unsigned char : 1;
int e: 3;
signed: 2;
float f;
}
@end
@implementation Foo
@end