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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [missing_derived_type_1.f90] - Blame information for rev 823

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR29364, in which the the absence of the derived type
3
! 'nonexist' was not diagnosed.
4
!
5
! Contributed by Tobias Burnus  
6
!
7
module test
8
  implicit none
9
  type epot_t
10
    integer :: c
11
    type(nonexist),pointer :: l ! { dg-error "has not been declared" }
12
  end type epot_t
13
end module test
14
! { 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.