aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/objc.dg/layout-2.m
blob: 0880b2eee482aefb1a8fcd9e2a4f51c95ca99462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, February 2011.  */
/* Ensure that -Wpadded generates no warnings during runtime structure metadata
   generation.  */
/* { dg-do compile } */
/* { dg-options "-Wpadded" } */

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

/* Implement a class, so that the metadata generation happens.  */
@interface MyClass : TestsuiteObject
@end

@implementation MyClass
@end