gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-4.c

15 lines
204 B
C

/* { dg-do run } */
#include <openacc.h>
int
main (int argc, char **argv)
{
acc_init ((acc_device_t) 99);
return 0;
}
/* { dg-output "device \[0-9\]+ out of range" } */
/* { dg-shouldfail "" } */