☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
task-detach-11.c
☽
☼
libgomp/testsuite/libgomp.c-c++-common/task-detach-11.c
code
plain
raw
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
}