2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template29.C
blobd971ab62dada67e9c228730706d2c8461f5cc67b
1 // { dg-do assemble  }
2 // PRMS Id: 9500
4 template <int S> 
5 class base 
6    { 
7 public: 
8    inline base(); 
9    }; 
11 template <class T> 
12 class derived : public base<sizeof(T)> 
13    { 
14 public: 
15    inline derived(); 
16    }; 
18 template <class T> 
19 inline derived<T>::derived() : base<sizeof(T)>(){}