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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [libgomp/] [testsuite/] [libgomp.c++/] [pr26691.C] - Blame information for rev 856

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

Line No. Rev Author Line
1 38 julius
// PR c++/26691
2
 
3
struct A
4
{
5
  int n;
6
  A (int i = 3) : n (i) {}
7
};
8
 
9
int
10
main ()
11
{
12
  A a;
13
  int err = 0;
14
#pragma omp parallel private (a) reduction (+:err)
15
  if (a.n != 3)
16
    err++;
17
 
18
  return err;
19
 }
20
 

powered by: WebSVN 2.1.0

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