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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fixed-point
/
convert-1.c
blob
04adea88bfa2c4c0680fbf4a029b536240707b8b
1
/* { dg-do run } */
2
/* { dg-options "-std=gnu99 -O0" } */
3
4
/* C99 6.3 Conversions.
5
6
Check conversions involving fixed-point. */
7
8
extern
void
abort
(
void
);
9
10
#include
"convert.h"
11
12
int
main
()
13
{
14
ALL_CONV
(
short
_Fract
,
hr
);
15
ALL_CONV
(
_Fract
,
r
);
16
ALL_CONV
(
long
_Fract
,
lr
);
17
ALL_CONV
(
long long
_Fract
,
llr
);
18
19
return
0
;
20
}