2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / template2.C
blob359e9b4658af742e68930279694348ba87e324db
1 // { dg-do assemble  }
3 // Copyright (C) 1999 Free Software Foundation
5 // by Alexandre Oliva <oliva@dcc.unicamp.br>
6 // based on bug report by Gabriel Dos_Reis <Gabriel.Dos_Reis@sophia.inria.fr>
8 template <template <typename> class C, typename T> class foo {
9   typedef typename C<T>::bar bar;
10   foo(bar);
13 template <template <typename> class C, typename T> foo<C,T>::foo(bar)
14 {} // { dg-bogus "" } C<T> not a class