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
PR ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
warn_target_lifetime_2.f90
blob
bfcb7aca4776907a29c0b339077c638b37378d2f
1
! { dg-do compile }
2
! { dg-options "-Wtarget-lifetime" }
3
!
4
! PR fortran/54301
5
!
6
function
f
()
7
integer
,
pointer
::
f
8
integer
,
target
::
t
9
f
=>
t
! { dg-warning "Pointer at .1. in pointer assignment might outlive the pointer target" }
10
end