OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [pr49223-1.C] - Blame information for rev 715

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/49223
2
// { dg-do compile }
3
// { dg-options "-fopenmp" }
4
 
5
template 
6
struct V
7
{
8
  V () {}
9
  ~V () {}
10
};
11
 
12
template 
13
struct S
14
{
15
  void foo ()
16
  {
17
    V <0> v;
18
    #pragma omp parallel private (v)
19
      ;
20
  }
21
};
22
 
23
void
24
bar (void)
25
{
26
  S <0> s;
27
  s.foo ();
28
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.