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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
whole_file_21.f90
blob
b1c1dacb2dd212c0ce91b390e44cd3961f38445b
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