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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! PR 20323
3
! We didn't verify that character length expressions are specification
4
! expressions.
5
function testpresent(arg)
6
   integer, intent(in), optional :: arg
7
   character(len=arg) :: s ! { dg-error "OPTIONAL" }
8
   logical :: testpresent
9
 
10
   testpresent=.true.
11
 
12
end function testpresent

powered by: WebSVN 2.1.0

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