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
Daily bump.
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
loop-3.c
blob
ba3ecdaca3af3cac779f2644eef5801a9cb85e13
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
volatile
int
count
;
6
static int
test
(
void
)
7
{
8
return
++
count
>
0
;
9
}
10
11
int
main
()
12
{
13
int
i
;
14
#pragma omp for
15
for
(
i
=
0
;
i
<
10
; ++
i
)
16
{
17
if
(
test
())
18
continue
;
19
abort
();
20
}
21
if
(
i
!=
count
)
22
abort
();
23
return
0
;
24
}