]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ext/overload1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / overload1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/overload1.C b/gcc/testsuite/g++.old-deja/g++.ext/overload1.C
deleted file mode 100644 (file)
index d99e04f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Build don't link:
-// Special g++ Options: -fpermissive
-
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 28 Feb 2001 <nathan@codesourcery.com>
-
-// Make sure we warn about our overload extension about picking the
-// one with the least worse conversion
-
-struct X
-{
-  X (int);
-};
-void Foo (int, float, bool);
-void Foo (float, int, X);
-
-void Baz ()
-{
-  Foo (1, 1, 0);    // WARNING - least worse
-}