1 // RUN: %libomptarget-compile-run-and-check-generic
6 static int test_omp_get_num_devices_with_empty_target() {
7 /* checks that omp_get_num_devices() > 0 */
8 return omp_get_num_devices() > 0;
14 if (!test_omp_get_num_devices_with_empty_target()) {