OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
921123-2.c
1
typedef struct
2
{
3
unsigned short b0, b1, b2, b3;
4
} four_quarters;
5
6
four_quarters x;
7
int a, b;
8
9
void f (four_quarters j)
10
{
11
b = j.b2;
12
a = j.b3;
13
}
14
15
main ()
16
{
17
four_quarters x;
18
x.b0 = x.b1 = x.b2 = 0;
19
x.b3 = 38;
20
f(x);
21
if (a != 38)
22
abort();
23
exit (0);
24
}