Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / cpp / cmdlne-dN-M.c
blob7d8c16b1c95f79d3265914f92a77d0ede66ff485
1 /* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
4 /* { dg-options "-dN -M" } */
6 /* Test -dN -M does not fail. It should print just
7 the Makefile rule with dependencies. */
9 #define foo bar
10 #define funlike(like) fun like
11 int variable;
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-dM-M\[^\\n\]*:\[^\\n\]*cmdlne-dM-M.c" { xfail *-*-* } } } */