URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [function_charlen_2.f90] - Rev 700
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }! Tests the fix for PR34429 in which function charlens that were! USE associated would cause an error.!! Contributed by Tobias Burnus <burnus@gcc.gnu.org>!module minteger, parameter :: l = 2character(2) :: clend module mprogram testimplicit noneinteger, parameter :: l = 5character(len = 10) :: ccharacter(4) :: clc = f ()if (g () /= "2") call abortcontainscharacter(len = l) function f ()use mif (len (f) /= 2) call abortf = "a"end function fcharacter(len = len (cl)) function g ()use mg = "4"if (len (g) == 2) g= "2"end function gend program test! { dg-final { cleanup-modules "m" } }
Go to most recent revision | Compare with Previous | Blame | View Log
