PR c++/86342 - -Wdeprecated-copy and system headers.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-7.c
blobe78734b30116795357d02c24d591bdd3fd3a2fc8
1 /* { dg-do run } */
3 #include <stdlib.h>
4 #include <openacc.h>
6 int
7 main (int argc, char **argv)
9 if (acc_get_num_devices (acc_device_none) != 0)
10 abort ();
12 if (acc_get_num_devices (acc_device_host) == 0)
13 abort ();
15 return 0;
18 /* { dg-output "" } */