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

int main ()
{
  int a;

  a = __builtin_bfin_norm_fr1x16 (0xffff);
  if (a != 15)
    abort ();

  exit (0);
}