aarch64: Add missing ACLE macro for NEON-SVE Bridge
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_18.f03
blob01850e630de98c6a99beecd2a419920f659c5a6a
1 ! { dg-do run }
3 ! PR 43207: [OOP] ICE for class pointer => null() initialization
5 ! Original test case by Tobias Burnus <burnus@gcc.gnu.org>
6 ! Modified by Janus Weil <janus@gcc.gnu.org>
8   implicit none
9   type :: parent
10   end type
11   type(parent), target :: t
12   class(parent), pointer :: cp => null()
14   if (associated(cp)) STOP 1
15   cp => t
16   if (.not. associated(cp)) STOP 2
18 end