Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/whole_file_21.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do link } |
2 ! PR fortran/40011 | |
3 ! | |
4 ! Contributed by Joost VandeVondele | |
5 ! | |
6 ! | |
7 ! Before no "one" function was generated with -fwhole-file. | |
8 ! | |
9 ! | |
10 SUBROUTINE one ( ) | |
11 END SUBROUTINE one | |
12 | |
13 SUBROUTINE two ( ) | |
14 END SUBROUTINE two | |
15 | |
16 MODULE mod | |
17 CONTAINS | |
18 SUBROUTINE three ( ) | |
19 CALL two ( ) | |
20 END SUBROUTINE three | |
21 SUBROUTINE four ( ) | |
22 CALL one ( ) | |
23 END SUBROUTINE four | |
24 END MODULE mod | |
25 END |