flang/test/Lower/Intrinsics/cabs_real16.f90
raw| 1 | ! REQUIRES: flang-supports-f128-math |
| 2 | ! RUN: bbc -emit-fir %s -o - | FileCheck %s |
| 3 | ! RUN: bbc --math-runtime=precise -emit-fir %s -o - | FileCheck %s |
| 4 | ! RUN: %flang_fc1 -emit-fir %s -o - | FileCheck %s |
| 5 | |
| 6 | ! CHECK: fir.call @_FortranACAbsF128({{.*}}){{.*}}: (!fir.complex<16>) -> f128 |
| 7 | complex(16) :: a |
| 8 | real(16) :: b |
| 9 | b = abs(a) |
| 10 | end |