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/] [class_7.f03] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! Test fixes for PR41587 and PR41608.!! Contributed by Tobias Burnus <burnus@gcc.gnu.org>!! PR41587: used to accept the declaration of component 'foo'type t0integer :: j = 42end type t0type tinteger :: iclass(t0), allocatable :: foo(3) ! { dg-error "deferred shape" }end type t! PR41608: Would ICE on missing type declclass(t1), pointer :: c ! { dg-error "before it is defined" }select type (c) ! { dg-error "shall be polymorphic" }type is (t1) ! { dg-error "Unexpected" }end select ! { dg-error "Expecting END PROGRAM" }end
