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
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20011008-2.c
blob
0ea0229ba540968a90198415a2aa21146b9676f5
1
/* { dg-do run } */
2
/* { dg-options "-O0" } */
3
4
extern
void
abort
(
void
);
5
extern
void
exit
(
int
);
6
7
struct
{
union
{
int
x
;
int
y
;};
int
q
; }
b
;
8
union
{
struct
{
int
x
;};
int
q
; }
e
;
9
10
int
11
main
()
12
{
13
b
.
y
=
10
;
14
b
.
x
=
15
;
15
if
(
b
.
y
!=
15
)
16
abort
();
17
18
e
.
x
=
10
;
19
e
.
q
=
15
;
20
if
(
e
.
x
!=
15
)
21
abort
();
22
23
exit
(
0
);
24
}