repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
xfail scan-tree-dump-not throw in g++.dg/pr99966.C on hppa*64*-*-*
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
task-detach-11.c
blob
dd002dcc8120b890b861a32972ca4719db23d34f
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
}