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
Merge C++ from gomp-20050608-branch.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
sections-4.C
blob
44e7de98c209f7e6fe52fc33a8a2c4ac540781eb
1
/* PR c++/24613 */
2
/* { dg-compile } */
3
4
#pragma omp section /* { dg-error "may only be used in" } */
5
6
int i;
7
8
void
9
foo (void)
10
{
11
#pragma omp section /* { dg-error "may only be used in" } */
12
i++;
13
}