]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/warn5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / warn5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/warn5.C b/gcc/testsuite/g++.old-deja/g++.other/warn5.C
deleted file mode 100644 (file)
index 4c17dc6..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Special g++ Options: -W 
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 6 Febs 2001 <nathan@codesourcery.com>
-
-// Bug 1765. We gave bogus warning on default initializer.
-
-struct X
-{
-  int i;
-};
-
-X *foo ()
-{
-  return new X ();  // gets bogus warning
-}
-
-X x = {};           // WARNING - missing initializer