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
S/390: Deprecate g5 and g6 CPU levels
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
for-11.C
blob
d15576d2fe928d6d69158e5fc93f1d5b8ae83581
1
// { dg-do compile }
2
3
extern void baz (int);
4
5
void foo (int j, int k)
6
{
7
#pragma omp for
8
for (int l = j; l < k; l++)
9
baz (l);
10
11
#pragma omp for
12
for (int i = 0, m = 0; m < 10; m++) // { dg-error "" }
13
baz (m);
14
}