OSDN Git Service

* gcc.dg/empty2.c: Add missing dg-warning.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Dec 2004 21:31:55 +0000 (21:31 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Dec 2004 21:31:55 +0000 (21:31 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92566 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/empty2.c

index a7f4c7f..079f98e 100644 (file)
@@ -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
index 7b91fb2..54b98f6 100644 (file)
@@ -2,7 +2,7 @@
 
 double d=0;
 
-struct A {} a;
+struct A {} a; /* { dg-warning "(has no members)" } */
 
 void foo(struct A x)
 {