]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/new5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / new5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/new5.C b/gcc/testsuite/g++.old-deja/g++.other/new5.C
deleted file mode 100644 (file)
index 99f3b07..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-// Test that const-correctness is observed when using new.
-
-struct A {
-  A() { }
-  int f () { return 1; }
-  int f () const { return 0; }
-};
-
-int main ()
-{
-  return (new const A)->f ();
-}