diff options
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/empty2.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a7f4c7f..079f98e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-12-23 Alexandre Oliva <aoliva@redhat.com> + + * gcc.dg/empty2.c: Add missing dg-warning. + 2004-12-23 Mark Mitchell <mark@codesourcery.com> PR c++/17413 diff --git a/gcc/testsuite/gcc.dg/empty2.c b/gcc/testsuite/gcc.dg/empty2.c index 7b91fb2..54b98f6 100644 --- a/gcc/testsuite/gcc.dg/empty2.c +++ b/gcc/testsuite/gcc.dg/empty2.c @@ -2,7 +2,7 @@ double d=0; -struct A {} a; +struct A {} a; /* { dg-warning "(has no members)" } */ void foo(struct A x) { |