* c-c++-common/Wrestrict.c (test_strcpy_range): Revert latest change.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / lib-2.c
blob353cd1c4d3198f4b02155c7501e88fec4e43e69f
1 /* { dg-do run } */
3 #include <stdio.h>
4 #include <openacc.h>
6 int
7 main (int argc, char **argv)
9 acc_init (acc_device_default);
10 acc_shutdown (acc_device_default);
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 "" } */