Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / obj-c++.dg / layout-1.mm
blob6972d12539f9c14f07c4f9df2baf16e9bbd2f0cf
1 /* Ensure that we do not get bizarre warnings referring to
2    __attribute__((packed)) or some such.  */
3 /* { dg-do compile } */
4 /* { dg-options "-Wpadded -Wpacked -Wabi" } */
6 #include <objc/Object.h>
8 @interface Derived1: Object
9 { }
10 @end
12 @interface Derived2: Object
13 - (id) foo;
14 @end
16 /* { dg-bogus "included from <built-in>" "PR23610" { xfail lp64 } 0 } */
17 /* { dg-bogus "padding struct to align" "PR23610" { xfail lp64 } 0 } */