]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/overload14.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / overload14.C
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 (file)
index 022326e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 18 Jan 2001 <nathan@codesourcery.com>
-
-// Bug 1639. We failed to have builtin relop candidates with enumeral type.
-
-template <typename T1, typename T2> 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.
-}