Add support for ARMv8-R architecture
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-8.c
blobea28b6bacf9b8a8fc11d97a3ff72ff52fbeab4a2
1 /* Expect error message when shutting down a device that has never been
2 initialized. */
3 /* { dg-do run } */
5 #include <stdio.h>
6 #include <openacc.h>
8 int
9 main (int argc, char **argv)
11 fprintf (stderr, "CheCKpOInT\n");
12 acc_shutdown (acc_device_default);
14 return 0;
17 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
18 /* { dg-output "no device initialized" } */
19 /* { dg-shouldfail "" } */