// { dg-do assemble } // 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. // class Bar { }; template class Foo; Foo *p; template class Foo { }; Foo f; // { dg-bogus "" } hosed binding levels