// { dg-do compile } // Copyright (C) 2004 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 22 Jul 2004 // ICE with incompletable type. class INC; template class B {}; template void Foo (B &); void Foo (INC &); void Baz (INC *p) { Foo (*p); }