mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 07:31:35 +00:00
20 lines
323 B
C
20 lines
323 B
C
/* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
|
|
|
|
#include <openacc.h>
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
int i;
|
|
|
|
acc_copyin (&i, sizeof i);
|
|
|
|
#pragma acc data copy (i)
|
|
++i;
|
|
|
|
return 0;
|
|
}
|
|
|
|
/* { dg-shouldfail "" }
|
|
{ dg-output "Trying to map into device .* object when .* is already mapped" } */
|