]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/refinit1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / refinit1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/refinit1.C b/gcc/testsuite/g++.old-deja/g++.other/refinit1.C
deleted file mode 100644 (file)
index 2f01e16..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Test that we don't allow multiple user-defined conversions in reference
-// initialization.
-// Build don't link:
-
-struct B { };
-
-struct A {
-  A (const B&);
-};
-
-struct C {
-  operator B ();
-};
-
-C c;
-
-const A& ref (c);              // ERROR - requires two UDCs