1 // RUN: %libomp-compile && %t | FileCheck %s
6 typedef int32_t kmp_int32
;
8 typedef void *kmpc_micro
;
13 extern void __kmpc_fork_call_if(ident_t
*loc
, kmp_int32 argc
,
14 kmpc_micro microtask
, kmp_int32 cond
,
20 // Microtask function for parallel region
21 void microtask(int *global_tid
, int *bound_tid
) {
23 if (omp_in_parallel()) {
31 // Condition for parallelization (false in this case)
33 // Call __kmpc_fork_call_if
34 __kmpc_fork_call_if(NULL
, 0, microtask
, cond
, NULL
);