diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/anon-1.m')
-rw-r--r-- | gcc/testsuite/objc.dg/anon-1.m | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/anon-1.m b/gcc/testsuite/objc.dg/anon-1.m new file mode 100644 index 000000000..5f10f7d60 --- /dev/null +++ b/gcc/testsuite/objc.dg/anon-1.m @@ -0,0 +1,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 + |