New test from GNATS #3073

From-SVN: r44802
This commit is contained in:
Gabriel Dos Reis 2001-08-11 19:44:31 +00:00
parent 5a99c3a649
commit 73d5e6c118
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
// { dg-do compile }
class BIXSet{
int z[4];
public:
void f(BIXSet &other){
z[0]=other.z[0];
}
};
class TestCase2{
public:
BIXSet a,b;
public:
void run(void){
BIXSet x,y;
process(0,x,y);
}
protected:
template<class BS> void process(const int d,BS &en,BS &lb){
a.f(en);b.f(lb);
}
};