Debian Codegraph @

gcc/testsuite/c-c++-common/gomp/map-7.c

raw
1 /* { dg-do compile } */
2
3 void
4 foo (void)
5 {
6 /* Test to ensure that the close modifier is parsed and ignored in map clauses. */
7
8 #define N 1024
9 int always[N];
10 int close;
11
12 #pragma omp target map(always[:N])
13 ;
14
15 #pragma omp target map(close, always[:N])
16 ;
17
18 #pragma omp target map(always[:N], close)
19 ;
20 }