X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Foverload14.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Foverload14.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=022326e65d8f1644db8af440476ee8de6a8cc246;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/overload14.C b/gcc/testsuite/g++.old-deja/g++.pt/overload14.C deleted file mode 100644 index 022326e6..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/overload14.C +++ /dev/null @@ -1,20 +0,0 @@ -// Build don't link: -// -// Copyright (C) 2000 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 18 Jan 2001 - -// Bug 1639. We failed to have builtin relop candidates with enumeral type. - -template void operator == (T1, T2); - -enum E {e1}; -void operator != (E, E); - -bool Foo (E e) -{ - return e == e1; -} -bool Baz (E e) -{ - return e != e1; // ERROR - void not ignored. -}