OpenACC documentation updates.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c / lib-3.c
blobe823a4153fa5efd64bb71a4efc05c27acb3dbdd3
1 /* { dg-do run } */
3 #include <openacc.h>
5 int
6 main (int argc, char **argv)
8 acc_init (acc_device_host);
10 acc_shutdown (acc_device_not_host);
12 return 0;
15 /* { dg-shouldfail "libgomp: device 4(4) is initialized" } */