]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/incomplete1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / incomplete1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/incomplete1.C b/gcc/testsuite/g++.old-deja/g++.jason/incomplete1.C
deleted file mode 100644 (file)
index 8b738d9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// The reference parameter to fred isn't dereferenced properly.
-// Build don't link:
-
-class Gump {};
-Gump  operator &  (const Gump x){return x;}
-
-class B;
-
-void *sam(int &x)
-{return &x;}
-
-const void *fred(const B& x)
-{return &x;}  // "&x" causes the compilation error.
-
-class B {};