]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/sc1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / sc1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/sc1.C b/gcc/testsuite/g++.old-deja/g++.other/sc1.C
deleted file mode 100644 (file)
index 8d99ed0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// Build don't link:
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-void f() {
-  int *i = 0;
-  const int *c = 0;
-
-  static_cast <const int *>(i);
-  static_cast <int *>(c);  // ERROR - casts away constness
-}