diff options
| author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-08 05:09:33 +0000 | 
|---|---|---|
| committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-08 05:09:33 +0000 | 
| commit | f8b84ab8fa787c330f3ec100c80ba7f90167453d (patch) | |
| tree | c2c061371c1a9e2ef74fa6be09573d0091b8e186 | |
| parent | cd13e75097168e77f6aa71e6def512388d891ac8 (diff) | |
| download | ppe42-gcc-f8b84ab8fa787c330f3ec100c80ba7f90167453d.tar.gz ppe42-gcc-f8b84ab8fa787c330f3ec100c80ba7f90167453d.zip  | |
	* cpp-nullchar.c:  Remove test as embedded nulls
	cause problems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33022 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/testsuite/gcc.dg/cpp-nullchar.c | 30 | 
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 6e49e930559..00000000000 --- 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 -  | 

