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
libstdc++: Add missing constexpr to __atomic_impl::__clear_padding
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
931004-9.c
blob
8a12691beb870ce17ae498d9962073bba3731502
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
struct
tiny
5
{
6
char
c
;
7
char
d
;
8
};
9
10
void
11
f
(
int
n
,
struct
tiny x
,
struct
tiny y
,
struct
tiny z
,
long
l
)
12
{
13
if
(
x
.
c
!=
10
)
14
abort
();
15
if
(
x
.
d
!=
20
)
16
abort
();
17
18
if
(
y
.
c
!=
11
)
19
abort
();
20
if
(
y
.
d
!=
21
)
21
abort
();
22
23
if
(
z
.
c
!=
12
)
24
abort
();
25
if
(
z
.
d
!=
22
)
26
abort
();
27
28
if
(
l
!=
123
)
29
abort
();
30
}
31
32
int
33
main
(
void
)
34
{
35
struct
tiny x
[
3
];
36
x
[
0
].
c
=
10
;
37
x
[
1
].
c
=
11
;
38
x
[
2
].
c
=
12
;
39
x
[
0
].
d
=
20
;
40
x
[
1
].
d
=
21
;
41
x
[
2
].
d
=
22
;
42
f
(
3
,
x
[
0
],
x
[
1
],
x
[
2
], (
long
)
123
);
43
exit
(
0
);
44
}
45