aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/Wunused.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/Wunused.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/Wunused.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/Wunused.c b/gcc/testsuite/gcc.dg/cpp/Wunused.c
index f134f55..aa099ee 100644
--- a/gcc/testsuite/gcc.dg/cpp/Wunused.c
+++ b/gcc/testsuite/gcc.dg/cpp/Wunused.c
@@ -26,7 +26,12 @@
#endif
used4
-unused7
+unused7 /* This does not count as a use. */
+
+#if 0
+unused5 /* This does not count as a use. */
+#endif
#undef unused5
+
#define unused6
unused6