2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / parameter_save.f90
blobea34ea7291a022f227b88a75143a454a880b0b88
1 ! { dg-do compile }
2 ! PR 20848 - parameter and save should conflict.
3 integer, parameter, save :: x=0 ! { dg-error "conflicts" }
4 integer, save :: y
5 parameter (y=42) ! { dg-error "conflicts" }
6 end