Debian Codegraph @

gcc/testsuite/gfortran.dg/warn_align_commons.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-Wno-align-commons" }
3
4 ! PR fortran/37486
5 !
6 ! Test for -Wno-align-commons.
7 !
8 ! Contributed by Janus Weil <[email protected]>.
9
10 implicit none
11 integer(kind=4) :: n
12 real(kind=8) :: p
13 common /foo/ n,p ! { dg-bogus "padding" }
14 end