nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / common_align_1.f90
blob782329fd4395b99aa9771db6facfb99f5f4bb322
1 ! { dg-do run }
2 ! { dg-options "-fno-align-commons" }
4 ! PR fortran/37486
6 ! Test for -fno-align-commons.
8 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>.
10 subroutine one()
11 integer :: i
12 common i
13 if (i/=5) STOP 1
14 end subroutine one
16 program test
17 integer :: i
18 real(8) :: r8
19 common i, r8
20 i = 5
21 call one()
22 end program test