X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ns%2Ftemplate9.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ns%2Ftemplate9.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=1b50a5f626ad31cb2107b32ea28b9cd13a652385;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.ns/template9.C b/gcc/testsuite/g++.old-deja/g++.ns/template9.C deleted file mode 100644 index 1b50a5f6..00000000 --- a/gcc/testsuite/g++.old-deja/g++.ns/template9.C +++ /dev/null @@ -1,40 +0,0 @@ -// Produces ICE 980519. -// Test case from Dirk Engelmann - -namespace vector { - - // allocate memory for vector - - template - inline T* alloc(const int aWidth) - { - // allocate memory - return new T[aWidth]; - } - -} - -namespace matrix { - - // allocate memory for matrix - template - T** alloc(const int aWidth,const int aHeight) - { - // allocate memory - T **mat = vector::alloc(aHeight); - T *data = vector::alloc (aWidth*aHeight); - // set pointer - for (int i=0; i(10,20); - -}