mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-10 21:15:59 +08:00
* gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives.
From-SVN: r94356
This commit is contained in:
parent
378d4011e6
commit
17a7d6d75a
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user