X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Foverload1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Foverload1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=d99e04fecb897940f06feddda0844a633c6b123b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index d99e04fe..00000000 --- a/gcc/testsuite/g++.old-deja/g++.ext/overload1.C +++ /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 - -// 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 -}