repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
spec_expr_1.f90
blob
61591c3113c12eab7dea9016820bf1d5e066debe
1
! { 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