3 // Copyright (C) 1999 Free Software Foundation
5 // by Alexandre Oliva <oliva@dcc.unicamp.br>
6 // based on bug report by Ulf Larsson <ulf.larsson@mbow337.swipnet.se>
8 template <class T> class C {};
9 class foo {} bar = bar.C(); // { dg-error "" } call to template