]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p438.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p438.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p438.C b/gcc/testsuite/g++.old-deja/g++.mike/p438.C
deleted file mode 100644 (file)
index 9afab63..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Build don't link:
-// prms-id: 438
-
-class D;
-
-class C
-{
-   public:
-   void test() const;
-};
-
-class D
-{
-   public:
-   void a(C& b); // ERROR - referenced below
-};
-
-void C::test() const
-{
-   D d;
-
-   d.a(*this); // ERROR - *this is const, so should get error
-}