]> gcc.gnu.org Git - gcc.git/commitdiff
* gcc.dg/empty2.c: Add missing dg-warning.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 23 Dec 2004 21:31:55 +0000 (21:31 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 23 Dec 2004 21:31:55 +0000 (21:31 +0000)
From-SVN: r92566

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

index a7f4c7f4222e1eeb754b1a60cf5617b3375fc9e2..079f98ec6f3c297a94631376d30988cf66d6ed63 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 7b91fb2614a9c3fccede62303c32d2490130f2d9..54b98f6f0b3be7da1bff9ac4b97e91d5c8ef82c0 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)
 {
This page took 0.09063 seconds and 5 git commands to generate.