summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/lto/pr41521_1.f90
blob: 897e7aded0a3b73631d9a357a662d8d1eff6fb80 (plain)
1
2
3
4
5
6
7
8
9
subroutine atom(sol,k,eval)
real, intent(in) :: sol
integer, intent(in) :: k(2)
real, intent(out) :: eval(2)
real t1
  t1=sqrt(dble(k(1)**2)-(sol)**2)
  eval(1)=sol**2/sqrt(t1)-sol**2
end subroutine