builtins: Created.
[platform/upstream/gcc.git] / gcc / testsuite / gcc.target / bfin / builtins / shl_fr1x16-5.c
1 extern void abort (void);
2
3 typedef short fract16;
4
5 fract16 foo (fract16 f, short n)
6 {
7   return __builtin_bfin_shl_fr1x16 (f, n);
8 }
9
10 int main ()
11 {
12   fract16 t1;
13
14   t1 = foo (0x1101, 4);
15   if (t1 != 0x7fff)
16     abort ();
17
18   return 0;
19 }
20