annotate gcc/testsuite/gcc.dg/cpp/cmdlne-C2.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. */
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 /* { dg-do preprocess } */
kono
parents:
diff changeset
4 /* { dg-options "-C" } */
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 /* This tests that C++ comments are either dropped, or converted to C
kono
parents:
diff changeset
7 comments in macro expansions. The + in the regexp stops it from
kono
parents:
diff changeset
8 matching itself 8-)
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 Neil Booth, 9 Oct 2001. */
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 #define ZERO 0 // A comment
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 ZERO:
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 /* { dg-final { scan-file-not cmdlne-C2.i "c+omment:" } } */
kono
parents:
diff changeset
17