summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/save_parameter.f90
blob: dd879bb869d0b6625f17497a0088b74066ce6122 (plain)
1
2
3
4
5
6
7
8
9
10
! { 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" } }