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
/
torture
/
pr53663-1.c
blob
3392ddecb51b750aab66766f707b6c97a856ba91
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
union
u
6
{
7
int
i
;
8
_Bool b
;
9
};
10
11
void
f
(
union
u
*
vp
,
union
u v
)
12
{
13
*
vp
=
v
;
14
}
15
16
int
main
()
17
{
18
union
u v
;
19
union
u v1
;
20
union
u v2
;
21
22
v
.
i
=
10
;
23
f
(&
v1
,
v
);
24
25
v
.
b
=
0
;
26
f
(&
v2
,
v
);
27
if
(
v2
.
b
!=
0
)
28
abort
();
29
return
0
;
30
}