1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp" } */
3
4 typedef enum omp_event_handle_t
5 {
6 __omp_event_handle_t_max__ = __UINTPTR_MAX__
7 } omp_event_handle_t;
8
9 extern void omp_fulfill_event (omp_event_handle_t);
10
11 void f (omp_event_handle_t x)
12 {
13 void g (void)
14 {
15 #pragma omp task detach (x)
16 omp_fulfill_event (x);
17 }
18
19 g ();
20 }