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
C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
cancel-3.C
blob
87e757b77680d75c87d8ab9b0a7a9d2c3a42cc5f
1
// { dg-do compile }
2
3
struct S { int s; } s;
4
5
void
6
foo (void)
7
{
8
#pragma omp parallel
9
{
10
#pragma omp cancel parallel if (s) // { dg-error "could not convert 's' from 'S' to 'bool'" }
11
}
12
}