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
[PATCH] RISC-V: Bugfix for unrecognizable insn for XTheadVector
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr71941.C
blob
ffa53d03e6001549c91fa6d8d4fdb8794272d197
1
// PR c++/71941
2
// { dg-do compile }
3
// { dg-options "-fopenmp" }
4
5
struct A { A (); A (A &); ~A (); };
6
7
template <int N>
8
struct B
9
{
10
struct C { A a; C () : a () {} };
11
C c;
12
void foo ();
13
};
14
15
void
16
bar ()
17
{
18
B<0> b;
19
#pragma omp task
20
for (int i = 0; i < 2; i++)
21
b.foo ();
22
}