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
Fix wrong assertion for LIPO
[official-gcc.git]
/
gcc-4_7-mobile
/
libgomp
/
testsuite
/
libgomp.c++
/
single-3.C
blob
abc7f44b31140330e63ceecd38fcfc00e17a7f8a
1
extern "C" void abort (void);
2
3
void
4
single (int a, int b)
5
{
6
#pragma omp single copyprivate(a) copyprivate(b)
7
{
8
a = b = 5;
9
}
10
11
if (a != b)
12
abort ();
13
}
14
15
int main()
16
{
17
#pragma omp parallel
18
single (1, 2);
19
20
return 0;
21
}