]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/static_cast.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / static_cast.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/static_cast.C b/gcc/testsuite/g++.old-deja/g++.pt/static_cast.C
deleted file mode 100644 (file)
index 26f26c5..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// Build don't link:
-
-template <class InputIterator, class BinaryOperation>
-void accumulate(InputIterator first, 
-                BinaryOperation binary_op) {
-}
-
-
-template<class R> int p( int val, R& r )
-{
-   return val + r;
-}
-
-template<class R> void f(R)
-{
-   accumulate(0, static_cast<int (*)(int, R&)>(p) );
-}
-
-int main()
-{
-   f(0);
-}