bolt/deps/llvm-18.1.8/flang/test/Semantics/OpenMP/declare-target-common-block.f90
2025-02-14 19:21:04 +01:00

10 lines
406 B
Fortran

! RUN: %flang_fc1 -fopenmp -fdebug-dump-symbols %s | FileCheck %s
PROGRAM main
!CHECK: one (OmpDeclareTarget) size=4 offset=0: ObjectEntity type: REAL(4)
!CHECK: two (OmpDeclareTarget) size=4 offset=4: ObjectEntity type: REAL(4)
!CHECK: numbers size=8 offset=0: CommonBlockDetails alignment=4: one two
REAL :: one, two
COMMON /numbers/ one, two
!$omp declare target(/numbers/)
END