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
Skip various cmp-mem-const tests on lp64 hppa*-*-*
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
nothing-1.c
blob
69716b18d98cb272425d8cb4e63a97568b0f57b9
1
#include <stdlib.h>
2
3
#pragma omp nothing
4
5
struct
S
6
{
7
#pragma omp nothing
8
int
s
;
9
};
10
11
int
12
foo
(
int
i
)
13
{
14
#pragma omp nothing
15
if
(
0
)
16
#pragma omp nothing
17
i
++;
18
if
(
1
)
19
;
20
else
21
#pragma omp nothing
22
i
++;
23
switch
(
0
)
24
#pragma omp nothing
25
{
26
default
:
27
break
;
28
}
29
while
(
0
)
30
#pragma omp nothing
31
i
++;
32
for
(;
0
;)
33
#pragma omp nothing
34
i
++;
35
lab
:
36
#pragma omp nothing
37
i
++;
38
return
i
;
39
}
40
41
int
42
main
()
43
{
44
if
(
foo
(
5
) !=
6
||
foo
(-
2
) != -
1
)
45
abort
();
46
return
0
;
47
}