1 ! Ensure that func.func arguments are given the Fortran attributes
2 ! even if their first use is in a procedure designator reference
5 ! RUN: bbc -emit-hlfir -o - %s | FileCheck %s
10 integer, optional
, target
:: x
13 integer, optional
, target
:: x
17 ! CHECK: func.func private @_QPfoo(!fir.ref<i32> {fir.optional, fir.target})