(root)/
gcc-13.2.0/
libgomp/
testsuite/
libgomp.c-c++-common/
task-detach-11.c
       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  }