1 /* { dg-do run } */
2
3 #include <omp.h>
4
5 /* Test the detach clause when the task is undeferred. */
6
7 int main (void)
8 {
9 omp_event_handle_t event;
10
11 #pragma omp task detach (event)
12 omp_fulfill_event (event);
13 }