(root)/
gcc-13.2.0/
libgomp/
testsuite/
libgomp.oacc-c-c++-common/
declare-5.c
       1  /* { dg-skip-if "" { *-*-* } { "-DACC_MEM_SHARED=1" } } */
       2  
       3  #include <stdio.h>
       4  
       5  int
       6  main (int argc, char **argv)
       7  {
       8    int a[8] __attribute__((unused));
       9  
      10    fprintf (stderr, "CheCKpOInT\n");
      11  #pragma acc declare present (a)
      12  }
      13  
      14  /* { dg-output "CheCKpOInT" } */
      15  /* { dg-shouldfail "" } */