Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b08eae92
Commit
b08eae92
authored
Jun 12, 2004
by
Paul Brook
Committed by
Paul Brook
Jun 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gfortran.fortran-torture/execute/contained_3.f90: New test.
From-SVN: r83033
parent
f814193b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gfortran.fortran-torture/execute/contained_3.f90
+22
-0
No files found.
gcc/testsuite/ChangeLog
View file @
b08eae92
2004
-
06
-
12
Paul
Brook
<
paul
@codesourcery
.
com
>
*
gfortran
.
fortran
-
torture
/
execute
/
contained_3
.
f90
:
New
test
.
2004
-
06
-
12
Tobias
Schlueter
<
tobias
.
schlueter
@physik
.
uni
-
muenchen
.
de
>
PR
fortran
/
14923
...
...
gcc/testsuite/gfortran.fortran-torture/execute/contained_3.f90
0 → 100644
View file @
b08eae92
! Program to test contained functions calling their siblings.
! This is tricky because we don't find the declaration for the sibling
! function until after the caller has been parsed.
program
contained_3
call
test
contains
subroutine
test
if
(
sub
(
3
)
.ne.
6
)
call
abort
end
subroutine
integer
function
sub
(
i
)
integer
i
if
(
i
.gt.
1
)
then
sub
=
sub2
(
i
)
*
i
else
sub
=
1
end
if
end
function
integer
function
sub2
(
i
)
integer
i
sub2
=
sub
(
i
-
1
)
end
function
end
program
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment