X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fdebug%2Fdebug2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fdebug%2Fdebug2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=e0164202d13e47a68571c805043c0323b6900f9d;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/debug/debug2.C b/gcc/testsuite/g++.dg/debug/debug2.C deleted file mode 100644 index e0164202..00000000 --- a/gcc/testsuite/g++.dg/debug/debug2.C +++ /dev/null @@ -1,42 +0,0 @@ -/* Verify that sched re-inserts needed scopes properly. */ -/* { dg-do compile } */ -/* { dg-options "-mcpu=ev5" { target alpha*-*-* } } */ - -template -inline void foo() -{ - void (T::*x)() __attribute__ ((__unused__)) = &T::bar; -} - -template -struct D -{ - void bar() { - } - T i; -}; - -template -struct E -{ - void bar() { - foo > (); - *i-- = *i; - } - T i; -}; - -struct A {}; -template struct B { typedef typename T::t t; }; -template struct B { typedef T& t; }; -template -struct C -{ - T b; - explicit C (const T& i) : b (i) { } - typename B::t operator* () const { return *b; } - C operator-- (int) { return C (b--); } -}; - -template void foo > > (); -template void foo > > ();