summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/guality/pr41558.f90
blob: 9d1e833998feb662e15a907ca979df9f5213f926 (plain)
1
2
3
4
5
6
7
8
9
10
! PR debug/41558
! { dg-do run }
! { dg-options "-g" }

subroutine f (s)
  character(len=3) :: s
  write (*,*), s ! { dg-final { gdb-test 7 "s" "'foo'" } }
end
  call f ('foo')
end