aarch64: Add vector floating point extend pattern [PR113880, PR113869]
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_ptr_comp_52.f90
blob631c0180753ce0a1e36580739c5aa4d52f42e2a8
1 ! { dg-do compile }
3 ! PR 85395: [F03] private clause contained in derived type acquires spurious scope
5 ! Contributed by <cfd@mnet-mail.de>
7 module defs
8 implicit none
10 type :: base
11 contains
12 private
13 end type
15 type :: options
16 procedure(), pointer, nopass :: ptr
17 end type
19 type :: t
20 private
21 procedure(), pointer, nopass, public :: ptr
22 end type
23 end module
26 program p
27 use defs
28 implicit none
29 type(options) :: self
30 type(t) :: dt
31 self%ptr => null()
32 dt%ptr => null()
33 end