aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Booth <neil@gcc.gnu.org>2000-04-08 05:09:33 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-04-08 05:09:33 +0000
commitc6c5d578254d8b6d6dd75d4320a65cdf65bd8b88 (patch)
treec2c061371c1a9e2ef74fa6be09573d0091b8e186
parentb0340202d1d7cf28daee35b325dc65a7f19b631b (diff)
downloadgcc-c6c5d578254d8b6d6dd75d4320a65cdf65bd8b88.zip
gcc-c6c5d578254d8b6d6dd75d4320a65cdf65bd8b88.tar.gz
gcc-c6c5d578254d8b6d6dd75d4320a65cdf65bd8b88.tar.bz2
cpp-nullchar.c: Remove test as embedded nulls cause problems.
* cpp-nullchar.c: Remove test as embedded nulls cause problems. From-SVN: r33022
-rw-r--r--gcc/testsuite/gcc.dg/cpp-nullchar.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp-nullchar.c b/gcc/testsuite/gcc.dg/cpp-nullchar.c
deleted file mode 100644
index 6e49e93..0000000
--- a/gcc/testsuite/gcc.dg/cpp-nullchar.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc. */
-
-/* { dg-do run } */
-
-/* This string contains embedded nulls which should be preserved. */
-static char x[] = "A string /* { dg-warning "null.*string" "nulls in string" { target *-*-* } 6 } */
-
-#include <string.h>
-
-int
-main ()
-{
- return strlen(x) != 8;
-}
-
-/* This comment with preprocessor silently. */
-
-/* Some random nulls among whitespace to be warned about once. */
-
-#define N
-#if 0 == '#endif
-
-#if 0#endif
-
-/* The null here should act as a whitespace separator. */
-#define X
-#if X != 1
-#error /* { dg-bogus "error" "Check X defined OK" } */
-#endif
-