aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.fortran/map-alloc-comp-9-usm.f90
blob: 90378c0e42a280e2e60d4188a39287c136b6c1ae (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-additional-options "-cpp -DUSE_USM_REQUIREMENT=1 -Wno-openmp" }
!
! We silence the warning:
!  Mapping of polymorphic list item '...' is unspecified behavior [-Wopenmp]
!
! Ensure that polymorphic mapping is diagnosed as undefined behavior
! Ensure that static access to polymorphic variables works

! Run map-alloc-comp-9.f90 in unified-shared-memory mode

#include "map-alloc-comp-9.f90"