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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pointer_check_9.f90
blob
d42ba64d78b33e833ffc7cb593dfd1b04f8865c8
1
! { dg-do run }
2
! { dg-options "-fcheck=all -std=f2008 -fall-intrinsics" }
3
!
4
! PR fortran/49255
5
!
6
! Valid F2008, invalid F95/F2003.
7
!
8
integer
,
pointer
::
ptr
=>
null
()
9
call
foo
(
ptr
)
10
contains
11
subroutine
foo
(
x
)
12
integer
,
optional
::
x
13
if
(
present
(
x
))
call
abort
()
14
end subroutine
foo
15
end