rt_gccstream/gcc/testsuite/gfortran.dg/save_parameter.f90

11 lines
292 B
Fortran

! { dg-do compile }
! PR fortran/32633 - implied SAVE conflicts with parameter attribute
! Testcase contributed by: Joost VandeVondele <jv244@cam.ac.uk>
MODULE test
CHARACTER(len=1), PARAMETER :: backslash = '\\'
PUBLIC :: backslash
END MODULE
! { dg-final { cleanup-modules "test" } }