1 /* Copyright (C) 2002, 2003 Free Software Foundation, Inc.  */
2 
3 /* { dg-do preprocess } */
4 /* { dg-options "-dM -dD" } */
5 
6 /* Test -dM -dD does not fail.  It should give the same output
7    as plain -dD.  */
8 
9 #define foo bar
10 #define funlike(like) fun like
11 int variable;
12 
13 /* { dg-final { scan-file cmdlne-dM-dD.i "(^|\\n)#define foo bar($|\\n)" } }
14    { dg-final { scan-file cmdlne-dM-dD.i "variable" } } */
15