1! Don't compile this anywhere, it is just auxiliary
2! file compiled together with declare-simd-2.f90
3! to verify inter-CU module handling of omp declare simd.
4! { dg-do compile { target { lp64 && { ! lp64 } } } }
5
6subroutine bar
7  use declare_simd_2_mod
8  real :: b(128)
9  integer :: i
10
11  !$omp simd
12  do i = 1, 128
13    b(i) = i * 2.0
14  end do
15  !$omp simd
16  do i = 1, 128
17    b(i) = foo (7.0_8, 5 * i, b(i))
18  end do
19  do i = 1, 128
20    if (b(i).ne.(7.0 + 10.0 * i * i)) call abort
21  end do
22end subroutine bar
23