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
Merge C++ from gomp-20050608-branch.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
critical-2.C
blob
37c9c2414d9339b9db830cf614d86ea877e941e0
1
// { dg-do compile }
2
3
void f1(void)
4
{
5
#pragma omp critical a // { dg-error "expected" }
6
;
7
#pragma omp critical ( // { dg-error "expected identifier" }
8
;
9
#pragma omp critical (a // { dg-error "expected .\\)." }
10
;
11
#pragma omp critical (a b) // { dg-error "expected .\\)." }
12
} // { dg-error "" }