fortran: Factor the evaluation of MINLOC/MAXLOC's BACK argument
[official-gcc.git] / libgomp / testsuite / libgomp.c / allocator-6.c
blob7c99e0e17506be31a01cb03c4adf1ee642627b71
1 /* { dg-set-target-env-var OMP_ALLOCATOR "omp_default_mem_space:alignment=3" } */
3 /* { dg-output ".*libgomp: Allocator of environment variable OMP_ALLOCATOR cannot be created, using omp_default_mem_alloc instead.*" } */
4 /* OMP_ALLOCATOR's alignment is not power of 2 -> use omp_default_mem_alloc. */
6 #include <omp.h>
8 int
9 main ()
11 omp_allocator_handle_t m = omp_get_default_allocator ();
12 if (m != omp_default_mem_alloc)
13 __builtin_abort ();
14 return 0;