2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / common_16.f90
blob3314e80ef9ddf85f0409e27f26c67ab82f317728
1 ! { dg-do compile }
2 ! { dg-options "-pedantic -mdalign" { target sh*-*-* } }
4 ! PR fortran/50273
6 subroutine test()
7 character :: a
8 integer :: b
9 character :: c
10 common /global_var/ a, b, c ! { dg-warning "Padding of 3 bytes required before 'b' in COMMON" }
11 print *, a, b, c
12 end subroutine test