c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr26246_2.f90
blobd551fa02a0a7b1c5b8a27e27b81327e151b8e090
1 ! PR fortran/26246
2 ! { dg-options "-fdump-tree-original -fno-automatic" }
3 ! { dg-do compile }
5 subroutine foo(string, n)
6 implicit none
7 integer :: n
8 character(len=n + 6), intent(in) :: string
9 if (string .eq. 'abc') STOP 1
10 end subroutine foo
12 ! { dg-final { scan-tree-dump-times "static int" 0 "original" } }