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
libgo: update to Go1.10beta1
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
element-1.c
blob
fbd286c5b8798a5c3455e5b35ebbba612e36ba82
1
/* { dg-do compile } */
2
/* { dg-options "-fopenmp" } */
3
4
struct
S
{
int
a
; };
5
6
void
7
foo
(
struct
S
*
x
)
8
{
9
struct
S b
;
10
#pragma omp parallel private (b.a)
/* { dg-error "expected .\\). before .\\.. token" } */
11
;
12
#pragma omp parallel private (x->a)
/* { dg-error "expected .\\). before .->. token" } */
13
;
14
}