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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.c++/] [pr26691.C] - Blame information for rev 861

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

Line No. Rev Author Line
1 273 jeremybenn
// 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.