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
2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
930622-2.c
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
}