Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/typebound_proc_3.f03 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-std=f2003" } ! Type-bound procedures ! Test that F2003 does not allow empty CONTAINS sections. MODULE testmod IMPLICIT NONE TYPE t INTEGER :: x CONTAINS END TYPE t ! { dg-error "Fortran 2008" } END MODULE testmod