URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [abstract_type_2.f03] - Rev 302
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do "compile" }
! Abstract Types.
! Check for parser errors.
MODULE m
IMPLICIT NONE
TYPE, ABSTRACT, EXTENDS(abst_t), ABSTRACT :: error_t ! { dg-error "Duplicate ABSTRACT attribute" }
INTEGER :: y
END TYPE error_t ! { dg-error "END MODULE" }
END MODULE m
! { dg-final { cleanup-modules "m" } }
Go to most recent revision | Compare with Previous | Blame | View Log