repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix unused warnings.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr32244-1.c
blob
afad25650c445c0182ef8e6e67d2ec458dd64fe3
1
struct
foo
2
{
3
unsigned long long
b
:
40
;
4
}
x
;
5
6
extern
void
abort
(
void
);
7
8
void
test1
(
unsigned long long
res
)
9
{
10
/* The shift is carried out in 40 bit precision. */
11
if
(
x
.
b
<<
32
!=
res
)
12
abort
();
13
}
14
15
int
main
()
16
{
17
x
.
b
=
0x0100
;
18
test1
(
0
);
19
return
0
;
20
}