Debian Codegraph @

gcc/testsuite/objc.dg/layout-2.m

raw
1 /* Contributed by Nicola Pero <[email protected]>, February 2011. */
2 /* Ensure that -Wpadded generates no warnings during runtime structure metadata
3 generation. */
4 /* { dg-do compile } */
5 /* { dg-options "-Wpadded" } */
6
7 #include "../objc-obj-c++-shared/TestsuiteObject.h"
8
9 /* Implement a class, so that the metadata generation happens. */
10 @interface MyClass : TestsuiteObject
11 @end
12
13 @implementation MyClass
14 @end