repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/64358
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c++
/
for-9.C
blob
86b9d9318cb9f31a8533423e9199906fc7a67e6d
1
extern "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 parallel for
7
#define G pf
8
#include "../libgomp.c/for-1.h"
9
#undef F
10
#undef G
11
12
#define F for
13
#define G f
14
#include "../libgomp.c/for-1.h"
15
#undef F
16
#undef G
17
18
int
19
main ()
20
{
21
if (test_pf_static ()
22
|| test_pf_static32 ()
23
|| test_pf_auto ()
24
|| test_pf_guided32 ()
25
|| test_pf_runtime ()
26
|| test_f_static ()
27
|| test_f_static32 ()
28
|| test_f_auto ()
29
|| test_f_guided32 ()
30
|| test_f_runtime ())
31
abort ();
32
return 0;
33
}