1 ! This test checks lowering of OpenACC routine directive.
3 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
13 integer, parameter :: N
= 10
18 ! CHECK-LABEL: acc.routine @acc_routine_0 func(@_QPsub1)
20 ! CHECK: func.func @_QPsub1(%ar{{.*}}: !fir.ref<!fir.array<?xf32>> {fir.bindc_name = "a"}, %arg1: !fir.ref<i32> {fir.bindc_name = "n"}) attributes {acc.routine_info = #acc.routine_info<[@acc_routine_0]>}