1 /* Exercise acc_update_self with a size zero data mapping. */
3 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
11 main (int argc
, char **argv
)
18 h
= (unsigned char *) malloc (N
);
20 for (i
= 0; i
< N
; i
++)
25 d
= acc_copyin (h
, N
);
31 fprintf (stderr
, "CheCKpOInT\n");
32 acc_update_self (h
, 0);
34 for (i
= 0; i
< N
; i
++)
47 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
48 /* { dg-output "\\\[\[0-9a-fA-FxX\]+,0\\\] is not mapped" } */
49 /* { dg-shouldfail "" } */