]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/string2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / string2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/string2.C b/gcc/testsuite/g++.old-deja/g++.other/string2.C
deleted file mode 100644 (file)
index 0442094..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 6 Mar 2000 <nathan@codesourcery.com>
-
-// A char const array should never be confused for a string literal.
-
-int main ()
-{
-  static const char ary[] = "wibble";
-  void const *ptr = 0;
-  
-  ptr = ary;
-  if (ptr == "wibble")
-    return 1;
-  if (ptr != ary)
-    return 1;
-  return 0;
-}