// Build don't link: // Copyright (C) 1999 Free Software Foundation // by Alexandre Oliva // simplified from bug report by redleaf struct B { template void bar(); } b; template void foo() { b.bar(); // no longer gets bogus error - bar undeclared b.template bar(); // no longer gets bogus error - ditto b.B::bar(); // ok } template void foo(); // no longer gets bogus error