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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/18918
4
!
5
! Check for error if no -fcoarray= option has been given
6
!
7
 
8
integer :: a
9
integer :: b[*] ! { dg-error "Coarrays disabled" }
10
 
11
error stop "Error"
12
sync all !  "Coarrays disabled"  (but error above is fatal)
13
 
14
critical ! "Coarrays disabled"  (but error above is fatal)
15
 
16
end critical ! "Expecting END PROGRAM statement"  (but error above is fatal)
17
 
18
end

powered by: WebSVN 2.1.0

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