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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [contains.f90] - Blame information for rev 308

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
! Check whether empty contains are allowd
4
! PR fortran/29806
5
module x
6
 contains
7
end module x ! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }
8
 
9
program y
10
  contains
11
end program y ! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }

powered by: WebSVN 2.1.0

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