]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/decl3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / decl3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/decl3.C b/gcc/testsuite/g++.old-deja/g++.other/decl3.C
deleted file mode 100644 (file)
index 18fc5d8..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link:
-
-// Origin:  Adapted by Nathan Sidwell 29 Apr 1999 <nathan@acm.org>
-//          from a test case submitted by Corey Kosak <kosak@cs.cmu.edu>
-//          http://gcc.gnu.org/ml/gcc-bugs/1999-04n/msg00505.html
-
-// We should not allow arrays of abstract type. [class.abstract/2]
-
-struct cow_t {
-  virtual void f()=0; // ERROR - abstract
-};
-
-
-int main()
-{
-  cow_t cow[2];  // ERROR - abstract class
-  cow[0].f();
-  return 0;
-}