PR c/47043
[official-gcc.git] / gcc / testsuite / objc.dg / layout-1.m
blob61aeced408a28e99e0900614bd81d9f3cb4bc0d8
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" } */
6 #include "../objc-obj-c++-shared/TestsuiteObject.h"
8 @interface Derived1: TestsuiteObject
9 { }
10 @end
12 @interface Derived2: TestsuiteObject
13 - (id) foo;
14 @end