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
ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
used_before_typed_5.f90
blob
9e78e681f48346da374c2706670d3640a6b91f7b
1
! { dg-do compile }
2
! { dg-options "-pedantic -std=f95" }
3
4
! Check that DIMENSION/POINTER/ALLOCATABLE/INTENT statements *do* allow
5
! symbols to be typed later.
6
7
SUBROUTINE
test
(
a
)
8
IMPLICIT REAL
(
a
-
z
)
9
10
! Those should *not* IMPLICIT-type the symbols:
11
INTENT
(
IN
) ::
a
12
DIMENSION
::
b
(:)
13
POINTER
::
c
14
ALLOCATABLE
::
b
15
16
! So this is ok:
17
INTEGER
::
a
,
b
,
c
18
19
END SUBROUTINE
test