PR c++/86342 - -Wdeprecated-copy and system headers.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / data-already-2.c
blob0118b2568e2340656913fce72a70f4213e552d96
1 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
3 #include <stdio.h>
5 int
6 main (int argc, char *argv[])
8 int i;
10 #pragma acc data present_or_copy (i)
12 fprintf (stderr, "CheCKpOInT\n");
13 #pragma acc data copyout (i)
14 ++i;
17 return 0;
20 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */