18 lines
455 B
Plaintext
18 lines
455 B
Plaintext
/* 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/Object1.h"
|
|
|
|
@interface Derived1: Object
|
|
{ }
|
|
@end
|
|
|
|
@interface Derived2: Object
|
|
- (id) foo;
|
|
@end
|
|
|
|
/* { dg-prune-output "In output included from" } Ignore this message. */
|
|
/* { dg-bogus "padding struct to align" "PR23610" { target *-*-* } 0 } */
|