repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb29.C
blob
bea0d12e17782f971d80c954c74cca0b47b3443e
1
// { dg-do assemble }
2
#include <vector>
3
4
using namespace std;
5
6
enum s { S };
7
class a
8
{
9
vector<s> vs;
10
friend class b;
11
};
12
struct b
13
{
14
vector<a> va;
15
operator vector< vector<s> >()
16
{
17
return vector< vector<s> >(va.size());
18
}
19
};