Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / gcc / testsuite / obj-c++.dg / layout-1.mm
blob33879ad17a4c9ae67cf7032146047e7e8beb8700
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-obj-c++-shared/TestsuiteObject.h"
8 @interface Derived1: TestsuiteObject
9 { }
10 @end
12 @interface Derived2: TestsuiteObject
13 - (id) foo;
14 @end
16 /* { dg-prune-output "In output included from" }   Ignore this message.  */
17 /* { dg-bogus "padding struct to align" "PR23610" { target *-*-* } 0 } */