summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/anon-1.m
blob: 5f10f7d60261fd7ce3495cae83c11f785cdcffad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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