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.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [pr29759.f90] - Rev 551

Go to most recent revision | 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|Invalid character" }
!$OMP END PARALLEL              ! { dg-error "Unexpected" }

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

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

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

END PROGRAM

Go to most recent revision | 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.