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