aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/bfin/builtins/abs_fr1x32-1.c
blob: a464c02d58aaedc059d3c14a4c25b14b4239121a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern void abort (void);

typedef long fract32;

int main ()
{
  fract32 t;

  t = __builtin_bfin_abs_fr1x32 (0x77777777);
  if (t != 0x77777777)
    abort ();

  return 0;
}