]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/overload12.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / overload12.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload12.C b/gcc/testsuite/g++.old-deja/g++.jason/overload12.C
deleted file mode 100644 (file)
index 61d3740..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// PRMS Id: 4066
-// Bug: g++ doesn't notice the const on reference returns.
-
-struct B {
-  int foo() { return 1; }
-  int foo() const { return 0; }
-};
-
-B b_;
-const B &b () { return b_; }
-
-int main()
-{
-  return b().foo();
-}