URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [function_types_1.f90] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! Tests the fix for PR34431 in which function TYPEs that were
! USE associated would cause an error.
!
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
!
module bar
contains
type(non_exist) function func2() ! { dg-error "not accessible" }
end function func2
end module bar
! { dg-final { cleanup-modules "bar" } }
Go to most recent revision | Compare with Previous | Blame | View Log