1 ! Note: flang will issue warnings for the following subroutines. These
2 ! are accepted regardless to maintain backwards compatibility with
3 ! other Fortran implementations.
5 ! RUN: bbc -emit-fir %s -o - | FileCheck %s
7 ! CHECK-LABEL: func @_QPs1() {
8 ! CHECK: fir.convert %{{.*}} : ((!fir.boxchar<1>) -> ()) -> ((!fir.ref<f32>) -> ())
10 ! Pass a REAL by reference to a subroutine expecting a CHARACTER
15 ! CHECK-LABEL: func @_QPs2(
16 ! CHECK: fir.convert %{{.*}} : ((!fir.boxchar<1>) -> ()) -> ((!fir.ref<f32>) -> ())
18 ! Pass a REAL, POINTER data reference to a subroutine expecting a CHARACTER
24 ! CHECK-LABEL: func @_QPs3(
25 ! CHECK-SAME: !fir.boxchar<1>