aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/obj-c++.dg/layout-1.mm
blob: 33879ad17a4c9ae67cf7032146047e7e8beb8700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Ensure that we do not get bizarre warnings referring to
   __attribute__((packed)) or some such.  */
/* { dg-do compile } */
/* { dg-options "-Wpadded -Wpacked -Wabi" } */

#include "../objc-obj-c++-shared/TestsuiteObject.h"

@interface Derived1: TestsuiteObject
{ }
@end

@interface Derived2: TestsuiteObject
- (id) foo;
@end

/* { dg-prune-output "In output included from" }   Ignore this message.  */
/* { dg-bogus "padding struct to align" "PR23610" { target *-*-* } 0 } */