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_2.f03] - Rev 414
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