summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/warn_align_commons.f90
blob: d20b710219ef5f250198e6737b177e28ea3ab611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! { dg-do compile }
! { dg-options "-Wno-align-commons" }

! PR fortran/37486
!
! Test for -Wno-align-commons.
!
! Contributed by Janus Weil <janus@gcc.gnu.org>.

implicit none
integer(kind=4) :: n
real(kind=8) :: p
common /foo/ n,p   ! { dg-bogus "padding" }
end