111
|
1 /* { dg-additional-options "-std=gnu99" } */
|
|
2
|
|
3 extern void abort (void);
|
|
4
|
|
5 #define M(x, y, z) O(x, y, z)
|
|
6 #define O(x, y, z) x ## _ ## y ## _ ## z
|
|
7
|
|
8 #define F parallel for
|
|
9 #define G pf
|
|
10 #include "for-1.h"
|
|
11 #undef F
|
|
12 #undef G
|
|
13
|
|
14 #define F for
|
|
15 #define G f
|
|
16 #include "for-1.h"
|
|
17 #undef F
|
|
18 #undef G
|
|
19
|
|
20 int
|
|
21 main ()
|
|
22 {
|
|
23 if (test_pf_static ()
|
|
24 || test_pf_static32 ()
|
|
25 || test_pf_auto ()
|
|
26 || test_pf_guided32 ()
|
|
27 || test_pf_runtime ()
|
|
28 || test_f_static ()
|
|
29 || test_f_static32 ()
|
|
30 || test_f_auto ()
|
|
31 || test_f_guided32 ()
|
|
32 || test_f_runtime ())
|
|
33 abort ();
|
|
34 return 0;
|
|
35 }
|