summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/vector-1a_main.c
blob: 11b4511749ee7e102651938dc5bacf5d84a7c13a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-skip-if "test SSE2 vector" { ! { i?86-*-* x86_64-*-* } } } */
/* { dg-require-effective-target sse2 } */
/* { dg-require-effective-target sse2_runtime } */

/* Test compatibility of vector types: layout between separately-compiled
   modules, parameter passing, and function return.  This test uses
   vectors of integer values.  */

extern void vector_1_x (void);
extern void exit (int);
int fails;

int
main ()
{
  vector_1_x ();
  exit (0);
}