]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/overload5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / overload5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/overload5.C b/gcc/testsuite/g++.old-deja/g++.brendan/overload5.C
deleted file mode 100644 (file)
index d71f0c0..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Build don't link: 
-// GROUPS passed overloading
-class Foo
-{
-public:
-  int operator << (const signed char&);
-  int operator << (const unsigned char&);
-  int operator << (const short&);
-  int operator << (const unsigned short&);
-  int operator << (const long&);
-  int operator << (const unsigned long&);
-};
-
-int main ()
-{
-  Foo fd;
-
-  // We fixed convert_harshness_ansi so it considers the call to
-  // <<(const signed char&) to be a trivial conversion.  It used
-  // to always make it a standard conversion, which made it conflict
-  // with <<(const unsigned char &), which is really a std conv.
-  fd << (signed char) 0;
-}