From David Taylor.

* gcc.dg/Wpadded.c: New file.

From-SVN: r67685
This commit is contained in:
David Taylor 2003-06-09 23:04:50 +00:00 committed by Jim Wilson
parent 64c2816fa1
commit 22597a82ee
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-05-21 David Taylor <dtaylor@emc.com>
* gcc.dg/Wpadded.c: New file.
2003-06-09 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/special/20000419-2.c: Fix dg-require-alias syntax.

View File

@ -0,0 +1,9 @@
/* Source: EMC. */
/* { dg-do compile } */
/* { dg-options "-Wpadded" } */
struct foo {
char bar;
long baz; /* { dg-warning "padding struct to align" } */
} futz;