2 // { dg-options "-fopenmp -fdump-tree-gimple" }
13 #pragma omp target map (alloc: a, b)
15 #pragma omp target enter data map (alloc: a, b)
29 #pragma omp target map (alloc: a, b)
31 #pragma omp target enter data map (alloc: a, b)
36 /* { dg-final { scan-tree-dump-times "map\\(struct:\\*\\(struct S \\*\\) this \\\[len: 2\\\]\\) map\\(alloc:this->a \\\[len: \[0-9\]+\\\]\\) map\\(alloc:this->b \\\[len: \[0-9\]+\\\]\\)" 2 "gimple" } } */
38 /* { dg-final { scan-tree-dump-times "map\\(struct:\\*\\(struct T \\*\\) this \\\[len: 2\\\]\\) map\\(alloc:this->a \\\[len: \[0-9\]+\\\]\\) map\\(alloc:this->b \\\[len: \[0-9\]+\\\]\\)" 2 "gimple" } } */