repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
contains_empty_1.f03
blob
b9cdc6731a1884089cd85396aa07324004fc1b7f
1
! { dg-do compile }
2
! { dg-options "-std=f2003 -pedantic" }
3
program test
4
print *, 'hello there'
5
contains ! { dg-error "Fortran 2008: CONTAINS statement without" }
6
end program test
7
8
module truc
9
integer, parameter :: answer = 42
10
contains ! { dg-error "Fortran 2008: CONTAINS statement without" }
11
end module truc