Skip to content

Commit

Permalink
[flang] Fix broken atan_real16 test (llvm#98499)
Browse files Browse the repository at this point in the history
The names in the `end function` were incorrect. Those have been removed.
  • Loading branch information
tarunprabhu authored and aaryanshukla committed Jul 14, 2024
1 parent b075d48 commit 9d24243
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions flang/test/Lower/Intrinsics/atan_real16.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
function test_real16(x)
real(16) :: x, test_real16
test_real16 = atan(x)
end function real16
end function

! CHECK-LABEL: @_QPtest_real16
! CHECK: fir.call @_FortranAAtanF128({{.*}}){{.*}}: (f128) -> f128

function test_real16_2(y, x)
real(16) :: y, x, test_real16
test_real16 = atan(y, x)
end function real16_2
real(16) :: y, x, test_real16_2
test_real16_2 = atan(y, x)
end function

! CHECK-LABEL: @_QPtest_real16
! CHECK-LABEL: @_QPtest_real16_2
! CHECK: fir.call @_FortranAAtan2F128({{.*}}){{.*}}: (f128, f128) -> f128

0 comments on commit 9d24243

Please sign in to comment.