3 ! Tests the fix for PR69566, in which a boolean expression testing a
4 ! the component of a pointer did not check the pointer, resulting in
7 ! Contributed by Janus Weil <janus@gcc.gnu.org>
9 print *, associated(return_pointer()) ! ICE
11 function return_pointer()
12 class(*), pointer :: return_pointer(:)