]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-4.c
Merge current set of OpenACC changes from gomp-4_0-branch.
[thirdparty/gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / data-already-4.c
1 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
2
3 #include <openacc.h>
4
5 int
6 main (int argc, char *argv[])
7 {
8 int i;
9
10 acc_present_or_copyin (&i, sizeof i);
11 acc_copyin (&i, sizeof i);
12
13 return 0;
14 }
15
16 /* { dg-shouldfail "" }
17 { dg-output "already mapped to" } */