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
/
char_result_16.f90
blob
adb86d5090cb6c3302b37af32b6e4efcc4139e97
1
! PR fortran/78757
2
! { dg-do compile }
3
! { dg-options "-O1" }
4
5
program
pr78757
6
implicit none
7
character
(
len
=
30
),
target
::
x
8
character
(
len
=
30
),
pointer
::
s
9
s
=>
foo
(
30_8
)
10
contains
11
function
foo
(
i
)
12
integer
(
8
) ::
i
13
character
(
len
=
i
),
pointer
::
foo
14
foo
=>
x
15
end function
foo
16
end program
pr78757