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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
pr44036-3.f90
blob
449cb9572d03a0538cbecc8a4dc339b74a4e4878
1
! PR fortran/44036
2
! { dg-do compile }
3
! { dg-options "-fopenmp" }
4
subroutine
foo
(
a
)
5
integer
,
external
::
a
,
c
6
integer
::
x
7
!$omp parallel default(none) private (x) shared (a) ! { dg-error "is not a variable" }
8
x
=
a
(
6
)
9
!$omp end parallel
10
!$omp parallel default(none) private (x) shared (c) ! { dg-error "is not a variable" }
11
x
=
c
(
6
)
12
!$omp end parallel
13
end