gcc/testsuite/gfortran.dg/gomp/target-device-ancestor-4.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! { dg-additional-options "-fdump-tree-original" } |
| 3 | |
| 4 | ! Test to ensure that device-modifier 'ancestor' is parsed correctly in |
| 5 | ! device clauses. |
| 6 | |
| 7 | !$omp requires reverse_offload |
| 8 | |
| 9 | !$omp target device (ancestor : 1) |
| 10 | !$omp end target |
| 11 | |
| 12 | end |
| 13 | |
| 14 | ! { dg-final { scan-tree-dump-times "pragma omp target \[^\n\r)]*device\\(ancestor:1\\)" 1 "original" } } |