flang/test/Lower/Intrinsics/pow_complex16k.f90
raw| 1 | ! RUN: bbc -emit-fir %s -o - | FileCheck %s |
| 2 | ! RUN: bbc --math-runtime=precise -emit-fir %s -o - | FileCheck %s |
| 3 | ! RUN: %flang_fc1 -emit-fir %s -o - | FileCheck %s |
| 4 | |
| 5 | ! CHECK: fir.call @_FortranAcqpowk({{.*}}){{.*}}: (!fir.complex<16>, i64) -> !fir.complex<16> |
| 6 | complex(16) :: a |
| 7 | integer(8) :: b |
| 8 | b = a ** b |
| 9 | end |