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
PR testsuite/85483: Move aarch64/sve/vcond_1.c test to g++.dg/other/
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
thread-limit-3.c
blob
af9bd7887abdc0915d8fb775b8db68d79a42db7f
1
#include <stdlib.h>
2
#include <omp.h>
3
4
int
5
main
()
6
{
7
#pragma omp target if (0)
8
#pragma omp teams thread_limit (1)
9
if
(
omp_get_thread_limit
() !=
1
)
10
abort
();
11
return
0
;
12
}