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
2015-11-30 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
target-3.c
blob
7002cf287f92900c16cecebaab514a458f5eae71
1
#include <omp.h>
2
#include <stdlib.h>
3
4
int
5
main
()
6
{
7
if
(
omp_get_level
())
8
abort
();
9
#pragma omp target if (0)
10
if
(
omp_get_level
())
11
abort
();
12
#pragma omp target if (0)
13
#pragma omp teams
14
if
(
omp_get_level
())
15
abort
();
16
return
0
;
17
}