builtins: Created.
[platform/upstream/gcc.git] / gcc / testsuite / gcc.target / bfin / builtins / max_fr1x16-1.c
1 extern void abort (void);
2
3 typedef short fract16;
4
5 int main ()
6 {
7   fract16 t1;
8
9   t1 = __builtin_bfin_max_fr1x16 (0x7777, 0x7000);
10   if (t1 != 0x7777)
11     abort ();
12
13   return 0;
14 }
15