From David Taylor.
* gcc.dg/Wpadded.c: New file. From-SVN: r67685
This commit is contained in:
parent
64c2816fa1
commit
22597a82ee
@ -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.
|
||||
|
9
gcc/testsuite/gcc.dg/Wpadded.c
Normal file
9
gcc/testsuite/gcc.dg/Wpadded.c
Normal 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;
|
Loading…
Reference in New Issue
Block a user