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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
whole_file_17.f90
blob
a2a9d15151194208ac235d47e78f28a26e1a156a
1
! { dg-do compile }
2
! { dg-options "-pedantic -fwhole-file" }
3
!
4
! PR fortran/30668
5
!
6
7
integer
(
8
)
function
two
()
8
two
=
2
9
end function
two
10
11
CHARACTER
(
len
=
8
)
function
string
()
12
string
=
"gfortran"
13
end function
string
14
15
16
program
xx
17
INTEGER
::
a
18
CHARACTER
(
len
=
4
) ::
s
,
string
! { dg-error "Character length mismatch" }
19
20
a
=
two
()
! { dg-error "Return type mismatch" }
21
s
=
string
()
22
end program
xx