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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [pr29759.f90] - Rev 816

Compare with Previous | Blame | View Log

! PR fortran/29759
! { dg-do compile }

PROGRAM test_omp
!$OMP PARALLEL &
!$OMP NUM_THREADS(2)
!$OMP END PARALLEL

!$OMP PARALLEL &
!$OMP & NUM_THREADS(2)
!$OMP END PARALLEL

!$OMP PARALLEL &
!
!$OMP NUM_THREADS(2)
!$OMP END PARALLEL

!$OMP PARALLEL &
!
!$OMP & NUM_THREADS(2)
!$OMP END PARALLEL


!$OMP PARALLEL &                ! { dg-error "Unclassifiable OpenMP" }
!$    NUM_THREADS(2)            ! { dg-error "Unclassifiable" }
!$OMP END PARALLEL              ! { dg-error "Unexpected" }

!$OMP PARALLEL &                ! { dg-error "Unclassifiable OpenMP" }
!$    & NUM_THREADS(2)          ! { dg-error "Unclassifiable" }
!$OMP END PARALLEL              ! { dg-error "Unexpected" }

!$OMP PARALLEL &                ! { dg-error "Unclassifiable OpenMP" }
!
!$    NUM_THREADS(2)            ! { dg-error "Unclassifiable" }
!$OMP END PARALLEL              ! { dg-error "Unexpected" }

!$OMP PARALLEL &                ! { dg-error "Unclassifiable OpenMP" }
!
!$    & NUM_THREADS(2)          ! { dg-error "Unclassifiable" }
!$OMP END PARALLEL              ! { dg-error "Unexpected" }

END PROGRAM

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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