blob: 21d9d64280f2072d0e791cc5c7f28ed05b155a97 [file] [log] [blame]
! PR middle-end/56015
! { dg-do run }
! { dg-options "-Ofast -fno-inline" }
program pr56015
implicit none
complex*16 p(10)
p(:) = (0.1d0, 0.2d0)
p(:) = (0.0d0, 1.0d0) * p(:)
call foo (p)
contains
subroutine foo (p)
complex*16 p(10)
if (any (p .ne. (-0.2d0, 0.1d0))) call abort
end subroutine
end program pr56015