Drop Z from X + Z < Y + Z
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / data-already-2.c
blob00adf2a2bf4225e784b9cafa2c21244beb9f2842
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).*" } */
21 /* { dg-output "Trying to map into device \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) object when \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) is already mapped" } */
22 /* { dg-shouldfail "" } */