aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/anon-1.m
blob: 5dab3fa142d6c63a65b65889bb3b13b3b0696c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Test for graceful handling of anonymous ivars.  */
/* { dg-do compile } */
/* { dg-additional-options "-Wno-objc-root-class" } */

@interface Foo {
   unsigned char : 1;
   int e: 3;
   signed: 2;
   float f;
}
@end

@implementation Foo
@end