repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
AVR: Assert minimal required bit width of section_common::flags.
[gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
loop-3.c
blob
f0f9b4705f91bf651fd4c5797c73da42c222ba18
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
i
;
12
13
int
main
()
14
{
15
#pragma omp for lastprivate (i)
16
for
(
i
=
0
;
i
<
10
; ++
i
)
17
{
18
if
(
test
())
19
continue
;
20
abort
();
21
}
22
if
(
i
!=
count
)
23
abort
();
24
return
0
;
25
}