nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / use_rename_5.f90
blob3d7839a0d121f5750bd733afbf40a5539c3f2115
1 ! { dg-do compile }
3 ! PR fortran/37193
4 ! Check that renamed symbols are not accessiable uner their target name.
6 MODULE m
7 IMPLICIT NONE
8 INTEGER :: i
9 END MODULE m
11 PROGRAM main
12 USE m, ONLY: j => i
13 IMPLICIT NONE
15 i = 4 ! { dg-error "no IMPLICIT type" }
16 j = 5
17 END PROGRAM main