nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / c_f_pointer_shape_tests_6.f90
blobdd9b16366422d6c73bd4d5ce9d546ea9ec4d43f9
1 ! { dg-do compile }
3 ! PR 60302: [4.9 Regression] ICE with c_f_pointer and android cross compiler
5 ! Contributed by Valery Weber <valeryweber@hotmail.com>
7 subroutine reshape_inplace_c2_c2 (new_shape)
8 use, intrinsic :: iso_c_binding
9 implicit none
10 integer :: new_shape(:)
11 complex, pointer :: ptr_x(:)
12 type(c_ptr) :: loc_x
13 call c_f_pointer (loc_x, ptr_x, new_shape)
14 end subroutine