// { dg-do assemble } // Copyright (C) 1999 Free Software Foundation // by Alexandre Oliva // based on bug report by Ulf Larsson template class C {}; class foo {} bar = bar.C(); // { dg-error "" } call to template