OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* cppexp.c (possible_sum_sign, integer_overflow, left_shift,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
cmdlne-C.c
diff --git
a/gcc/testsuite/gcc.dg/cpp/cmdlne-C.c
b/gcc/testsuite/gcc.dg/cpp/cmdlne-C.c
index
c89dd8b
..
2dafec2
100644
(file)
--- a/
gcc/testsuite/gcc.dg/cpp/cmdlne-C.c
+++ b/
gcc/testsuite/gcc.dg/cpp/cmdlne-C.c
@@
-29,3
+29,9
@@
fun_like (foo, bar)
/* Check OK to redefine fun_like without comments in the params. */
#define fun_like(x, y)/**/
+
+/* Check comments in macros in directives are OK. */
+#define ZERO 0 /* A trailing comment. */
+
+#if ZERO
+#endif