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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [contains_empty_1.f03] - Blame information for rev 708

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=f2003 -pedantic" }
3
program test
4
  print *, 'hello there'
5
contains
6
end program test ! { dg-error "Fortran 2008: CONTAINS statement without" }
7
 
8
module truc
9
  integer, parameter :: answer = 42
10
contains
11
end module truc ! { dg-error "Fortran 2008: CONTAINS statement without" }

powered by: WebSVN 2.1.0

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