URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [pr44036-3.f90] - Rev 302
Go to most recent revision | Compare with Previous | Blame | View Log
! PR fortran/44036
! { dg-do compile }
! { dg-options "-fopenmp" }
subroutine foo(a)
integer, external :: a, c
integer :: x
!$omp parallel default(none) private (x) shared (a) ! { dg-error "is not a variable" }
x = a(6)
!$omp end parallel
!$omp parallel default(none) private (x) shared (c) ! { dg-error "is not a variable" }
x = c(6)
!$omp end parallel
end
Go to most recent revision | Compare with Previous | Blame | View Log