* gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives.

From-SVN: r94356
This commit is contained in:
Richard Henderson 2005-01-27 16:42:46 -08:00 committed by Richard Henderson
parent 378d4011e6
commit 17a7d6d75a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-01-27 Richard Henderson <rth@redhat.com>
* gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives.
2005-01-27 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/intmax_t-1.c: Extend dg-error to cover mips*-elf targets.

View File

@ -1,8 +1,8 @@
/* { dg-do compile } */
/* { dg-options -O2 -Wuninitialized } */
/* { dg-options "-O2 -Wuninitialized" } */
int sys_msgctl (void)
{
struct { int mode; } setbuf; /* { dg-warning "'setbuf[.]mode' is used" } */
struct { int mode; } setbuf; /* { dg-warning "'setbuf\.mode' is used" } */
return setbuf.mode;
}