]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gfortran.dg/initialization_17.f90
c7b73b583df13b3e3e8e7a5602e1cea0b8ec71ab
[thirdparty/gcc.git] / gcc / testsuite / gfortran.dg / initialization_17.f90
1 ! { dg-do compile }
2 !
3 ! PR fortran/34514
4 !
5 ! Initialization and typespec changes.
6 !
7 integer :: n = 5, m = 7
8 parameter (n = 42) ! { dg-error "Initializing already initialized variable" }
9 dimension :: m(3) ! { dg-error "after its initialisation" }
10 end