OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [member.C] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { 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 void process(const int d,BS &en,BS &lb){
25
a.f(en);b.f(lb);
26
}
27
 
28
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.