projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New test from GNATS #3073
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
member.C
1
// { dg-do compile }
2
3
4
class BIXSet{
5
int z[4];
6
public:
7
void f(BIXSet &other){
8
z[0]=other.z[0];
9
}
10
11
};
12
13
class TestCase2{
14
public:
15
BIXSet a,b;
16
17
public:
18
void run(void){
19
BIXSet x,y;
20
process(0,x,y);
21
}
22
23
protected:
24
template<class BS> void process(const int d,BS &en,BS &lb){
25
a.f(en);b.f(lb);
26
}
27
28
};