aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/splet-1.c
blob: 03dbb2e3a3cd17387b895ea581f7abbfaf7335fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Test inl-sparc.h.  */

/* { dg-do run { target sparclet-*-* } } */
/* { dg-options -mcpu=sparclet } */

#include <inl-sparc.h>

main ()
{
  int a,b;

  a = scan (1, 2);
  if (a != 3)
    abort ();

  b = shuffle (4, 5);
  if (b != 6)
    abort ();

  exit (0);
}