// Bug: Foo *p semi-instantiates Foo in local scope, so // when Foo f tries to instantiate it later, it only finds the partial // instantiation from before. // // No PR; distilled from James Clark's SGML project. // // Build don't link: class Bar { }; template class Foo; Foo *p; template class Foo { }; Foo f; // gets bogus error - hosed binding levels