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/] [abstract_type_1.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do "compile" }
! { dg-options "-std=f95" }
! Abstract Types.
! Check that ABSTRACT is rejected for F95.
MODULE m
TYPE, ABSTRACT :: t ! { dg-error "Fortran 2003" }
INTEGER :: x
END TYPE t ! { dg-error "END MODULE" }
END MODULE m
! { dg-final { cleanup-modules "m" } }