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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/35028
2
// { dg-do compile }
3
// { dg-options "-fopenmp" }
4
 
5
struct A
6
{
7
  A ();
8
  A (const A &, ...);
9
  ~A ();
10
  A operator++ (int);
11
};
12
 
13
void
14
foo ()
15
{
16
  A a;
17
  #pragma omp parallel firstprivate (a)
18
    a++;
19
}

powered by: WebSVN 2.1.0

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