1 ! Test that the shape of the elemental call is properly
2 ! computed as being rank 1, even though the only dummy
3 ! argument is optional.
5 ! RUN: bbc -emit-fir %s -o - | FileCheck %s
6 ! RUN: bbc -emit-hlfir %s -o - | FileCheck %s
10 elemental
function callee(arg1
)
11 integer, intent(in
), optional
:: arg1
18 ! The PRINT statement must be lowered into a ranked print:
19 ! CHECK: fir.call @_FortranAioOutputDescriptor