blob: 9cad010912fe8b7f7ff5a2605a153ca8a1d47c3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* { dg-do run } */
/* { dg-options "-std=gnu99 -O0" } */
/* C99 6.3 Conversions.
Check conversions involving fixed-point. */
extern void abort (void);
#include "convert.h"
int main ()
{
ALL_CONV_FLOAT (short _Accum, hk);
ALL_CONV_FLOAT (_Accum, k);
ALL_CONV_FLOAT (long _Accum, lk);
ALL_CONV_FLOAT (long long _Accum, llk);
return 0;
}
|