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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
typebound_proc_3.f03
blob
56cb9cfa82639705ee8361987f1a5064df21255e
1
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
4
! Type-bound procedures
5
! Test that F2003 does not allow empty CONTAINS sections.
6
7
MODULE testmod
8
IMPLICIT NONE
9
10
TYPE t
11
INTEGER :: x
12
CONTAINS
13
END TYPE t ! { dg-error "Fortran 2008" }
14
15
END MODULE testmod