X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.eh%2Ftmpl2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.eh%2Ftmpl2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=af3dc7bc12a62007480f453cf4cde785d6befb48;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.eh/tmpl2.C b/gcc/testsuite/g++.old-deja/g++.eh/tmpl2.C deleted file mode 100644 index af3dc7bc..00000000 --- a/gcc/testsuite/g++.old-deja/g++.eh/tmpl2.C +++ /dev/null @@ -1,33 +0,0 @@ -// Build don't link: -// Special g++ flags: -O -// crash test - XFAIL i*86-*-linux* - -// Posted by H. J. Lu - -template -class FixSeq -{ -public: - void append(const T&); -}; -class foo -{ -public: - void setupIR(); -}; -typedef FixSeq bar; -extern void dummy (foo *); -void * -foobar (bar &x, foo *p) -{ - try - { - p -> setupIR(); - } - catch(...) - { - dummy (p); - } - x.append(p); - return p; -}