]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/dynarray.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / dynarray.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/dynarray.C b/gcc/testsuite/g++.old-deja/g++.pt/dynarray.C
deleted file mode 100644 (file)
index 62371fc..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Build don't link:
-// Special g++ Options: -ansi
-// Origin: Theo Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
-// Special g++ Options:
-
-inline const unsigned& f(unsigned const& a) {
-        return a;
-}
-
-template <class T>
-void
-g(const unsigned n)
-{
-        double D[f(n)];
-}
-
-template <class T,class U>
-void g(unsigned const int) { }
-
-int main()
-{
-        g<double>(18);
-}