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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth9.C
blob
86b8ddfefa2490f1ad897c9b270a5fd2ef44e067
1
// { dg-do assemble }
2
// PRMS Id: 6837
3
// Bug: anonymous union confuses g++.
4
5
struct my_key {
6
my_key(const my_key&);
7
my_key(const char* n);
8
};
9
10
struct my_node {
11
my_node(my_key&);
12
union {
13
long cnt;
14
my_node* next;
15
};
16
my_key a;
17
};
18
19
extern my_node n;
20
my_node a(n);