Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/cmdlne-dD-dM.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */ |
2 | |
3 /* { dg-do preprocess } */ | |
4 /* { dg-options "-dD -dM" } */ | |
5 | |
6 /* Test -dD -dM does not fail. It should give the same output | |
7 as plain -dM. */ | |
8 | |
9 #define foo bar | |
10 #define funlike(like) fun like | |
11 int variable; | |
12 | |
13 /* { dg-final { scan-file cmdlne-dD-dM.i "(^|\\n)#define foo bar($|\\n)" } } | |
14 { dg-final { scan-file-not cmdlne-dD-dM.i "variable" } } */ |