X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Feh%2Ftemplate2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Feh%2Ftemplate2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ed389328677cd3442823e95f2849582c1001be10;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/eh/template2.C b/gcc/testsuite/g++.dg/eh/template2.C deleted file mode 100644 index ed389328..00000000 --- a/gcc/testsuite/g++.dg/eh/template2.C +++ /dev/null @@ -1,19 +0,0 @@ -// { dg-do compile } -// { dg-options -O2 } - -template struct O { - O(T *p) : q(p) { } - T *q; -}; -struct W { - virtual ~W(); -}; -struct S : public W { - S (int *); -}; -W *bar(int); -S::S (int *x) -{ - for (int *p = x; *p; p++) - O i (bar (*p)); -}