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
2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
nested_array_constructor_4.f90
blob
cb113e9c9aeb0cdf00cc610b74da408ac00c0940
1
! { dg-do run }
2
3
! PR fortran/35846
4
! Alternate test that also produced an ICE because of a missing length.
5
6
PROGRAM
test
7
IMPLICIT NONE
8
CHARACTER
(
LEN
=
2
) ::
x
9
INTEGER
::
length
10
11
x
=
'a'
12
length
=
LEN
( (/
TRIM
(
x
),
'a'
/) //
'c'
)
13
14
IF
(
length
/=
2
)
THEN
15
CALL
abort
()
16
END IF
17
END PROGRAM