2022-10-27 20:55:19 +02:00

14 lines
213 B
C

/* { dg-do run } */
#include <omp.h>
/* Test the detach clause when the task is undeferred. */
int main (void)
{
omp_event_handle_t event;
#pragma omp task detach (event)
omp_fulfill_event (event);
}