3 // Copyright (C) 1999 Free Software Foundation
5 // by Alexandre Oliva <oliva@dcc.unicamp.br>
6 // simplified from bug report by redleaf <e1wwater@dingo.cc.uq.edu.au>
9 template <class> void bar();
12 template <class T> void foo() {
13 b.bar<T>(); // no longer gets bogus error - bar undeclared
14 b.template bar<T>(); // no longer gets bogus error - ditto
18 template void foo<void>(); // no longer gets bogus error