1 // { dg-do compile } 2 3 // Copyright (C) 2004 Free Software Foundation, Inc. 4 // Contributed by Nathan Sidwell 22 Jul 2004 <nathan@codesourcery.com> 5 6 // ICE with incompletable type. 7 8 class INC; 9 10 template <typename T> class B {}; 11 12 template<typename T> void Foo (B<T> &); 13 14 void Foo (INC &); 15 Baz(INC * p)16void Baz (INC *p) 17 { 18 Foo (*p); 19 } 20 21