OSDN Git Service

2004-06-13 Eric Christopher <echristo@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / noncompile / 20001228-1.c
index 79efe11..73a44a8 100644 (file)
@@ -1,6 +1,6 @@
 void rof(void)
 {
   union { int a; } u;
-  for (u.a = 0; u; u.a++)  /* { dg-error "invalid operand" } */
+  for (u.a = 0; u; u.a++)  /* { dg-error "used union" } */
     ;
 }