blob: e1ddd120da857b5114a8840e04cbe70cc538814d [file] [log] [blame]
! RUN: %flang_fc1 -fopenmp -fdebug-dump-symbols %s | FileCheck %s
program main
!CHECK: a size=4 offset=0: ObjectEntity type: REAL(4)
!CHECK: b size=8 offset=4: ObjectEntity type: INTEGER(4) shape: 1_8:2_8
!CHECK: c size=4 offset=12: ObjectEntity type: REAL(4)
!CHECK: blk size=16 offset=0: CommonBlockDetails alignment=4: a b c
real :: a, c
integer :: b(2)
common /blk/ a, b, c
!$omp parallel private(/blk/)
!CHECK: OtherConstruct scope: size=0 alignment=1
!CHECK: a (OmpPrivate): HostAssoc
!CHECK: b (OmpPrivate): HostAssoc
!CHECK: c (OmpPrivate): HostAssoc
call sub(a, b, c)
!$omp end parallel
end program