aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr47054_1.f90
blob: 3665edbd72b2ced0b9a8435ab0c8661be745162d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }
! { dg-options "-fcray-pointer" }
! PR fortran/47054
subroutine host_sub
   implicit none
   real xg
   pointer (paxg, xg)
   call internal_sub
   contains 
      subroutine internal_sub
         implicit none
         real xg
         pointer (paxg, xg)
      end subroutine internal_sub
end subroutine host_sub