OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
scope3.C
1
// Build don't link:
2
// GROUPS passed scoping
3
// This is fixed when NEW_CLASS_SCOPING is on.
4
5
template<class T>
6
class ArrayG {
7
public:
8
ArrayG();
9
protected:
10
const unsigned INITIAL;
11
T* array;
12
};
13
14
template<class T>
15
ArrayG<T>::ArrayG():
16
array(new T[INITIAL])
17
{ }
18
19
struct X {
20
struct Correspondence {
21
int i;
22
};
23
24
void fill(ArrayG<Correspondence>& a);
25
};