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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
logical_assignment_1.f90
blob
c22898051183e9d0701e309916a5d1a656711ca8
1
! { dg-do compile }
2
! PR 79312 - assigning a logical value to a real
3
! is invalid.
4
! Test case by John Harper.
5
program
emptyarray5
6
implicit none
7
real
a
(
0
)
8
a
= [
logical
::]
! { dg-error "Can't convert LOGICAL" }
9
print
*,
size
(
a
)
10
end program
emptyarray5