brintos

brintos / llvm-project-archived public Read only

0
0
Text · 468 B · 52cdb96 Raw
13 lines · plain
1! RUN: bbc -emit-fir %s -o - | FileCheck %s2 3! CHECK-LABEL: func @_QPs() {4subroutine s5  ! CHECK-DAG: fir.alloca !fir.box<!fir.heap<i32>> {{{.*}}uniq_name = "{{.*}}Eally"}6  integer, allocatable :: ally7  ! CHECK-DAG: fir.alloca !fir.box<!fir.ptr<i32>> {{{.*}}uniq_name = "{{.*}}Epointy"}8  integer, pointer :: pointy9  ! CHECK-DAG: fir.alloca i32 {{{.*}}fir.target{{.*}}uniq_name = "{{.*}}Ebullseye"}10  integer, target :: bullseye11  ! CHECK: return12end subroutine s13