OpenACC documentation updates.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c / lib-4.c
blob060275b999bdb79f7415ed48066bdd6bf9790086
1 /* { dg-do run } */
3 #include <openacc.h>
5 int
6 main (int argc, char **argv)
8 acc_init ((acc_device_t) 99);
10 return 0;
13 /* { dg-shouldfail "libgomp: device 99 is out of range" } */