mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +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" } */
|