cmdlne-dD-M.c: Fix test for makefile rule and remove xfail.

* gcc.dg/cpp/cmdlne-dD-M.c: Fix test for makefile rule and remove
xfail.

From-SVN: r133384
This commit is contained in:
Andreas Schwab 2008-03-20 16:37:04 +00:00 committed by Andreas Schwab
parent 7c38ade963
commit e44013f7fa
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-03-20 Andreas Schwab <schwab@suse.de>
* gcc.dg/cpp/cmdlne-dD-M.c: Fix test for makefile rule and remove
xfail.
2008-03-20 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/gomp/pr34692.c: Cleanup gimple dump file.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */
/* Copyright (C) 2002, 2003, 2008 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-dD -M" } */
@ -12,4 +12,4 @@ int variable;
/* { dg-final { scan-file-not cmdlne-dD-M.i "(^|\\n)#define foo bar($|\\n)" } }
{ dg-final { scan-file-not cmdlne-dD-M.i "variable" } }
{ dg-final { scan-file-not cmdlne-dD-M.i "(^|\n)cmdlne-dD-M.*:.*cmdlne-dD-M.c" { xfail *-*-* } } } */
{ dg-final { scan-file cmdlne-dD-M.i "(^|\n)cmdlne-dD-M\[^\\n\]*:( *\\\\\\n)?\[^\\n\]*cmdlne-dD-M.c" } } */