OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [missing_derived_type_1.f90] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
! { dg-do compile }
! { dg-do compile }
! Tests the fix for PR29364, in which the the absence of the derived type
! Tests the fix for PR29364, in which the the absence of the derived type
! 'nonexist' was not diagnosed.
! 'nonexist' was not diagnosed.
!
!
! Contributed by Tobias Burnus  
! Contributed by Tobias Burnus  
!
!
module test
module test
  implicit none
  implicit none
  type epot_t
  type epot_t
    integer :: c
    integer :: c
    type(nonexist),pointer :: l ! { dg-error "has not been declared" }
    type(nonexist),pointer :: l ! { dg-error "has not been declared" }
  end type epot_t
  end type epot_t
end module test
end module test
! { dg-final { cleanup-modules "test" } }
! { dg-final { cleanup-modules "test" } }
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.