]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/conversion4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / conversion4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/conversion4.C b/gcc/testsuite/g++.old-deja/g++.jason/conversion4.C
deleted file mode 100644 (file)
index 7caca19..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link:
-struct A {
-  A (int);
-};
-struct B {
-  operator int () { return 1; }
-};
-void f (const A&);
-void g()
-{
-  B b;
-  f ((A) b);
-  f (A (b)); // gets bogus error - functional cast treated differently from C style
-}