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-3.c
blob
753c472a844199592a0b7c39c4f97e271e22e608
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
_Accum
,
hk
);
15
ALL_CONV
(
_Accum
,
k
);
16
ALL_CONV
(
long
_Accum
,
lk
);
17
ALL_CONV
(
long long
_Accum
,
llk
);
18
19
return
0
;
20
}