X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fdynarray.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fdynarray.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=62371fcef523c4165c43396bf47343a2d167598e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 62371fce..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/dynarray.C +++ /dev/null @@ -1,23 +0,0 @@ -// Build don't link: -// Special g++ Options: -ansi -// Origin: Theo Papadopoulo -// Special g++ Options: - -inline const unsigned& f(unsigned const& a) { - return a; -} - -template -void -g(const unsigned n) -{ - double D[f(n)]; -} - -template -void g(unsigned const int) { } - -int main() -{ - g(18); -}