OpenCores
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/] [appendix-a/] [a.23.5.f90] - Blame information for rev 516

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
 
3
      SUBROUTINE A23_5_WRONG()
4
        COMMON /C/ X,Y
5
! Incorrect: common block C cannot be declared both
6
! shared and private
7
!$OMP PARALLEL PRIVATE (/C/), SHARED(/C/)
8
          ! { dg-error "Symbol 'y' present" "" { target *-*-* } 7 }
9
          ! { dg-error "Symbol 'x' present" "" { target *-*-* } 7 }
10
          ! do work here
11
!$OMP END PARALLEL
12
      END SUBROUTINE A23_5_WRONG

powered by: WebSVN 2.1.0

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