repo.or.cz
/
official-gcc
/
alias-decl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr37189.C
blob
31d95f2d2dfcee049b97464b71503bc90145dfdf
1
// PR c++/37189
2
// { dg-do compile }
3
// { dg-options "-fopenmp" }
4
5
struct S
6
{
7
S () {}
8
S (S const &) {}
9
};
10
11
struct T
12
{
13
S s;
14
};
15
16
void
17
bar (T &)
18
{
19
}
20
21
int
22
foo ()
23
{
24
T t;
25
#pragma omp task
26
bar (t);
27
}