OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [pr44036-3.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.