// 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(); // gets bogus error - bar undeclared b.template bar(); // gets bogus error - ditto b.B::bar(); } template void foo(); // gets bogus error