* gcc.dg/pr22231.c: Fix dg-error call.
authorTom Tromey <tromey@redhat.com>
Sat, 10 May 2008 00:48:58 +0000 (00:48 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sat, 10 May 2008 00:48:58 +0000 (00:48 +0000)
From-SVN: r135136

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr22231.c

index 0195eab05b5bed583925357d1274007777378888..84952274dc8fdde87ee86d53209fe6ce036a9f28 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-09  Tom Tromey  <tromey@redhat.com>
+
+       * gcc.dg/pr22231.c: Fix dg-error call.
+
 2008-05-09  Tom Tromey  <tromey@redhat.com>
 
        PR preprocessor/22231:
index cca27c66f5bce688f16bae189b032f9a5c753fa4..2107006844ac5564868bb9d1d14dd206317c090d 100644 (file)
@@ -2,6 +2,6 @@
 
 /* { dg-do compile } */
 /* { dg-options "-MG -MD -c" } */
-/* { dg-error "may only be used with -M" "" 0 */
+/* { dg-error "may only be used with -M" "-MG incompatible with -c" { target *-*-* } 0 } */
 
 int anything;