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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
pr35818.c
blob
b2165eb3973d0e31134b4814d2a029aca7852791
1
/* PR middle-end/35818 */
2
/* { dg-do compile } */
3
/* { dg-options "-fopenmp" } */
4
5
extern
int
a
[];
6
7
void
8
foo
(
void
)
9
{
10
#pragma omp parallel
11
#pragma omp master
12
a
[
3
] =
1
;
13
#pragma omp parallel shared(a)
14
#pragma omp master
15
a
[
3
] =
1
;
16
}