mirror of
https://github.com/autc04/Retro68.git
synced 2025-03-02 10:30:00 +00:00
14 lines
213 B
C
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);
|
|
}
|