repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (160224:163495).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gfortran.dg
/
g77
/
19990218-0.f
blob
57bb638411020c25101ad5aa848cb45f052adc15
1
c { dg-do compile }
2
program
test
3
double precision
a
,
b
,
c
4
data a
,
b
/
1.0
d
-
46
,
1.0
d0
/
5
c
=
fun
(
a
,
b
) ! {
dg
-
error
"Return type mismatch of function"
}
6
print*
,
'in main: fun='
,
c
7
end
8
double precision
function
fun
(
a
,
b
)
9
double precision
a
,
b
10
print*
,
'in sub: a,b='
,
a
,
b
11
fun
=
a*b
12
print*
,
'in sub: fun='
,
fun
13
return
14
end