1 /* Copyright (C) 2002 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
4 /* { dg-options "-dD -dM" } */
6 /* Test -dD -dM does not fail. It should give the same output
10 #define funlike(like) fun like
13 /* { dg-final { if ![file exists cmdlne-dD-dM.i] { return } } }
14 { dg-final { if { [grep cmdlne-dD-dM.i "^#define foo bar$"] == "" } { fail "cmdlne-dD-dM.c: #define line not printed" } } }
15 { dg-final { if { [grep cmdlne-dD-dM.i "variable"] != "" } { fail "cmdlne-dD-dM.c: non-#define line printed" } } }
16 { dg-final { return } } */