aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr97673.f90
blob: 33b81435806d2a322f2cbf7f94be878b74b4ad76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! { dg-do compile }
! { dg-options "-O3 -fno-early-inlining --param large-stack-frame=4000" }

subroutine sub3noiso(a, b)
  use iso_c_binding
  implicit none
  character(len=1,kind=c_char) :: a(*), b
  character(len=1,kind=c_char):: x,z
  integer(c_int) :: y
  value :: b
  print *, a(1:2), b
entry sub3noisoEntry(x,y,z)
  x = 'd'
end subroutine sub3noiso