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

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

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

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