1 /* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
4 /* { dg-options "-dI -M" } */
6 /* Test -dI -M does not fail. It should print just
7 the Makefile rule with dependencies. */
10 #include "cmdlne-dI-M.h"
11 #define funlike(like) fun like
14 /* { dg-final { scan-file-not cmdlne-dI-M.i "(^|\\n)#define foo bar($|\\n)" } }
15 { dg-final { scan-file-not cmdlne-dI-M.i "variable" } }
16 { dg-final { scan-file cmdlne-dI-M.i "(^|\\n)cmdlne-dI-M.*:\[^\\n\]*cmdlne-dI-M.c" { xfail *-*-* } } } */