coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_memcpy_4.f90
blob45a4d77b04ee14baea4be0ad1a00e7c8386b2185
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 type t
4 logical valid
5 integer :: x, y
6 end type
7 type (t) :: s(5)
8 type (t) :: d(5)
10 d = s
11 end
12 ! { dg-final { scan-tree-dump-times "memcpy" 1 "original" } }