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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
anon2.C
blob
f35d5ff3145b3bb58829e9381cb1e407f4017e07
1
// { dg-do run }
2
extern "C" void abort (void);
3
4
static union {
5
int x1;
6
long x2;
7
short x3;
8
long x4;
9
};
10
11
static union {
12
union {
13
union {
14
int z;
15
};
16
};
17
union {
18
union {
19
double d;
20
int i;
21
};
22
};
23
};
24
25
26
int main()
27
{
28
z = 3;
29
if (i != 3)
30
abort ();
31
d = 2.5;
32
}