1extern "C" void abort ();
2
3#define M(x, y, z) O(x, y, z)
4#define O(x, y, z) x ## _ ## y ## _ ## z
5
6#define F simd
7#define G simd
8#define S
9#define N(x) M(x, G, normal)
10#include "../libgomp.c/for-2.h"
11#undef S
12#undef N
13#undef F
14#undef G
15
16#define F parallel for simd
17#define G pf_simd
18#include "../libgomp.c/for-1.h"
19#undef F
20#undef G
21
22#undef SC
23#define SC static
24#define F for simd
25#define G f_simd
26#include "../libgomp.c/for-1.h"
27#undef F
28#undef G
29#undef SC
30
31int
32main ()
33{
34  if (test_simd_normal ()
35      || test_pf_simd_static ()
36      || test_pf_simd_static32 ()
37      || test_pf_simd_auto ()
38      || test_pf_simd_guided32 ()
39      || test_pf_simd_runtime ()
40      || test_f_simd_static ()
41      || test_f_simd_static32 ()
42      || test_f_simd_auto ()
43      || test_f_simd_guided32 ()
44      || test_f_simd_runtime ())
45    abort ();
46  return 0;
47}
48