X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcast2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcast2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=fb0a260dac4b74cc73bbcde73be191be007c795b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/cast2.C b/gcc/testsuite/g++.old-deja/g++.pt/cast2.C deleted file mode 100644 index fb0a260d..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/cast2.C +++ /dev/null @@ -1,32 +0,0 @@ -// Build don't link: - -// Copyright (C) 2000 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 10 Jan 2001 - -// Bug 1588. We ICE'd on reparsing an absdcl as a cast inside a template -// function. - -class A { -public: - template void f(void *CLUTp); -}; - -template void A::f(void *CLUTp) -{ - void *CLUT; - - CLUT = (unsigned char [3][256])CLUTp; // ERROR - cast to array - - return; -} - - -int main() -{ - A myobj; - unsigned char t[3][256]; - - myobj.f(t); - - return 0; -}