Retro68/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/declare-5.c
2017-04-10 13:32:00 +02:00

16 lines
285 B
C

/* { dg-do run { target openacc_nvidia_accel_selected } } */
#include <stdio.h>
int
main (int argc, char **argv)
{
int a[8] __attribute__((unused));
fprintf (stderr, "CheCKpOInT\n");
#pragma acc declare present (a)
}
/* { dg-output "CheCKpOInT" } */
/* { dg-shouldfail "" } */