Check CXXFLAGS, instead of CFLAGS, for NO_PIE_CFLAGS
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / data-already-3.c
blobb993b78c5ac5906a68bfbcc04483439ae765b15f
1 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
3 #include <openacc.h>
5 int
6 main (int argc, char *argv[])
8 int i;
10 #pragma acc data present_or_copy (i)
11 acc_copyin (&i, sizeof i);
13 return 0;
16 /* { dg-shouldfail "" }
17 { dg-output "already mapped to" } */