PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_30.f90
blobd68bcccf7943a78e102f9a61755ec24fecc24439
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=single -fdump-tree-original" }
4 ! PR fortran/57093
6 ! Contributed by Damian Rouson
8 program main
9 character(len=25), allocatable :: greeting[:]
10 allocate(greeting[*])
11 write(greeting,"(a)") "z"
12 end
14 ! { dg-final { scan-tree-dump-times "greeting.data = \\(void . restrict\\) __builtin_malloc \\(25\\);" 1 "original" } }