From 3741ff5800f7bd664a0f7e0ef4a07cdb709fd472 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 10 May 2008 00:48:58 +0000 Subject: [PATCH] * gcc.dg/pr22231.c: Fix dg-error call. From-SVN: r135136 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr22231.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0195eab05b5..84952274dc8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-05-09 Tom Tromey + + * gcc.dg/pr22231.c: Fix dg-error call. + 2008-05-09 Tom Tromey PR preprocessor/22231: diff --git a/gcc/testsuite/gcc.dg/pr22231.c b/gcc/testsuite/gcc.dg/pr22231.c index cca27c66f5b..2107006844a 100644 --- a/gcc/testsuite/gcc.dg/pr22231.c +++ b/gcc/testsuite/gcc.dg/pr22231.c @@ -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; -- 2.30.2