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