| 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=8" } */ |
| 5 |
|
| 6 |
#include "../objc-obj-c++-shared/TestsuiteObject.h" |
| 7 |
|
| 8 |
@interface Derived1: TestsuiteObject |
| 9 |
{ } |
| 10 |
@end |
| 11 |
|
| 12 |
@interface Derived2: TestsuiteObject |
| 13 |
- (id) foo; |
| 14 |
@end |
| 15 |
|
| 16 |
/* { dg-prune-output "In output included from" } Ignore this message. */ |
| 17 |
/* { dg-bogus "padding struct to align" "PR23610" { target *-*-* } 0 } */ |