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
c: fix ICE when forming composite type for two structures / unions [PR117548]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
f2c_8.f90
blob
03baa36be53683a517a01c3b9be225a4bbf561f4
1
! { dg-do compile }
2
! { dg-options "-ff2c" }
3
! PR 25392
4
! Verify that the type of the result variable matches the declared
5
! type of the function. The actual type of the function may be
6
! different for f2c calling conventions.
7
real function
goo
()
result
(
foo
)
8
real
x
9
foo
=
sign
(
foo
,
x
)
10
end
11
12
real function
foo
()
13
real
x
14
foo
=
sign
(
foo
,
x
)
15
end
16