Debian Codegraph @

gcc/testsuite/gfortran.dg/coarray_30.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=single -fdump-tree-original" }
3 !
4 ! PR fortran/57093
5 !
6 ! Contributed by Damian Rouson
7 !
8 program main
9 character(len=25), allocatable :: greeting[:]
10 allocate(greeting[*])
11 write(greeting,"(a)") "z"
12 end
13
14 ! { dg-final { scan-tree-dump-times "greeting.data = \\(void . restrict\\) __builtin_malloc \\(25\\);" 1 "original" } }