summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/lexnum.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/lexnum.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/lexnum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/lexnum.c b/gcc/testsuite/gcc.dg/cpp/lexnum.c
index 7df15540833..3d7a9a8ddf8 100644
--- a/gcc/testsuite/gcc.dg/cpp/lexnum.c
+++ b/gcc/testsuite/gcc.dg/cpp/lexnum.c
@@ -5,7 +5,11 @@
/* Test lexing of numbers. */
+#if DEBUG
extern int puts (const char *);
+#else
+#define puts(X)
+#endif
extern void abort (void);
#define err(str) do { puts(str); abort(); } while (0)