nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr86322_2.f90
blobfec17dbba60be7003cdd00e18224407455a4c5c0
1 ! { dg-do compile }
2 program bar
3 type a
4 integer :: i
5 end type a
6 type b
7 type(a),pointer :: j
8 end type b
9 integer, target, save :: k = 42
10 type(b) x
11 data x%j%i/k/ ! { dg-error "is not rightmost part-ref" }
12 print *, x%j%i
13 end program bar