re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / common_13.f90
blob07c78f1a73cb3e5e27932f7dd729d765a146164f
1 ! { dg-do compile }
3 ! PR 50070: Segmentation fault at size_binop_loc in fold-const.c
5 ! Contributed by Vittorio Zecca <zeccav@gmail.com>
7 subroutine sub
8 common n,z ! { dg-error "must have constant character length" }
9 integer :: n
10 character(len=n) :: z
11 end