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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
930622-2.c
blob
d049b002a196a0775ad604f05d0adc310a3d4f60
1
long double
2
ll_to_ld
(
long long
n
)
3
{
4
return
n
;
5
}
6
7
long long
8
ld_to_ll
(
long double
n
)
9
{
10
return
n
;
11
}
12
13
main
()
14
{
15
long long
n
;
16
17
if
(
ll_to_ld
(
10LL
) !=
10.0
)
18
abort
();
19
20
if
(
ld_to_ll
(
10.0
) !=
10
)
21
abort
();
22
23
exit
(
0
);
24
}