PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / warn_align_commons.f90
blobd20b710219ef5f250198e6737b177e28ea3ab611
1 ! { dg-do compile }
2 ! { dg-options "-Wno-align-commons" }
4 ! PR fortran/37486
6 ! Test for -Wno-align-commons.
8 ! Contributed by Janus Weil <janus@gcc.gnu.org>.
10 implicit none
11 integer(kind=4) :: n
12 real(kind=8) :: p
13 common /foo/ n,p ! { dg-bogus "padding" }
14 end