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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-fopenmp" }
3
!
4
! PR fortran/43711 uninformative error message for two 'nowait' in omp statement
5
! Contributed by Bill Long 
6
 
7
program NF03_2_5_2_1a
8
   !$omp parallel
9
      !$omp sections
10
      !$omp section
11
         print *, 'FAIL'
12
      !$omp section
13
         print *, 'FAIL'
14
      !$omp end sections nowait nowait     ! { dg-error "Unexpected junk" }
15
   !$omp end parallel
16
end program NF03_2_5_2_1a
17
 
18
! { dg-excess-errors "Unexpected" }

powered by: WebSVN 2.1.0

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