OSDN Git Service

* gcc.dg/pr22231.c: Fix dg-error call.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 May 2008 00:48:58 +0000 (00:48 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 May 2008 00:48:58 +0000 (00:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135136 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 0195eab..8495227 100644 (file)
@@ -1,5 +1,9 @@
 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:
        * gcc.dg/pr22231.c: New file.
 
index cca27c6..2107006 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;