/* 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 > > ();