Retro68/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/declare-5.c

16 lines
283 B
C
Raw Normal View History

2018-12-28 15:30:48 +00:00
/* { dg-skip-if "" { *-*-* } { "-DACC_MEM_SHARED=1" } } */
2017-04-10 11:32:00 +00:00
#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 "" } */