]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/crash21.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash21.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/crash21.C b/gcc/testsuite/g++.old-deja/g++.other/crash21.C
deleted file mode 100644 (file)
index dd98502..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link:
-// Origin: Gabriel Dos Reis <gdr@codesourcery.com>
-
-struct  A {
-  virtual void f(int&) const;
-};
-
-struct B : public A {
-  int x;
-};
-
-void B::f(int& t) { // ERROR - undeclared method
-  x = t;
-}