Add a testcase for PR target/66821
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-4.c
blob3bb9ea512b60b0329e9df012fbdb1363f3e17776
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-output "unknown device type \[0-9\]+" } */
14 /* { dg-shouldfail "" } */