libgomp/testsuite/libgomp.fortran/map-alloc-comp-9-usm.f90
raw| 1 | ! { dg-additional-options "-cpp -DUSE_USM_REQUIREMENT=1 -Wno-openmp" } |
| 2 | ! |
| 3 | ! We silence the warning: |
| 4 | ! Mapping of polymorphic list item '...' is unspecified behavior [-Wopenmp] |
| 5 | ! |
| 6 | ! Ensure that polymorphic mapping is diagnosed as undefined behavior |
| 7 | ! Ensure that static access to polymorphic variables works |
| 8 | |
| 9 | ! Run map-alloc-comp-9.f90 in unified-shared-memory mode |
| 10 | |
| 11 | #include "map-alloc-comp-9.f90" |