2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / member.C
blob69228334ff6d14fcc1b33b6baed50514d6188f5c
1 // { dg-do compile }
4 class BIXSet{
5 int z[4];
6 public:
7 void f(BIXSet &other){
8 z[0]=other.z[0];
13 class TestCase2{
14 public:
15 BIXSet a,b;
17 public:
18 void run(void){
19 BIXSet x,y;
20 process(0,x,y);
23 protected:
24 template<class BS> void process(const int d,BS &en,BS &lb){
25 a.f(en);b.f(lb);