]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ns/template12.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / template12.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/template12.C b/gcc/testsuite/g++.old-deja/g++.ns/template12.C
deleted file mode 100644 (file)
index 5a6869c..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link:
-// Templates can be defined outside of the namespace if the have been declared
-// inside
-namespace bar
-{
-  template <typename T>
-  T const foo(T const &);
-  template<> const int foo<int>(int const &);
-}
-
-template <typename T>
-T const
-bar::foo(T const &a)
-{
-  return a;
-}
-
-template<> const int bar::foo<int>(int const &){return 0;}
-