OSDN Git Service

update
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb28.C
1 //Build don't link: 
2 #include <vector.h>
3 enum s { S };
4 class a
5 {
6         vector<s> vs;
7         friend class b;
8 };
9 class b
10 {
11         vector<a> va;
12         operator vector< vector<s> >()
13         {
14                 vector< vector<s> > vvs(va.size());
15                 return vvs;
16         }
17 };