URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [cmdlne-dM-dD.c] - Rev 12
Compare with Previous | Blame | View Log
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */ /* { dg-do preprocess } */ /* { dg-options "-dM -dD" } */ /* Test -dM -dD does not fail. It should give the same output as plain -dD. */ #define foo bar #define funlike(like) fun like int variable; /* { dg-final { scan-file cmdlne-dM-dD.i "(^|\\n)#define foo bar($|\\n)" } } { dg-final { scan-file cmdlne-dM-dD.i "variable" } } */