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
fortran: Factor the evaluation of MINLOC/MAXLOC's BACK argument
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
target-47.c
blob
aa19fcb8276f2180b6b966f82dfe734ed530b5f9
1
/* { dg-shouldfail "omp_invalid_device" } */
2
3
#include <omp.h>
4
5
void
6
foo
(
void
)
7
{
8
}
9
10
int
11
main
()
12
{
13
omp_set_default_device
(
omp_invalid_device
);
14
#pragma omp target
15
foo
();
16
return
0
;
17
}
18
19
/* { dg-output "omp_invalid_device" } */