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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [testsuite/] [libgomp.c++/] [task-7.C] - Blame information for rev 735

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 735 jeremybenn
// PR c++/36523
2
// { dg-do run }
3
 
4
template
5
struct A
6
{
7
  A() { }
8
  A(const A&) { }
9
  void foo() { }
10
};
11
 
12
int main()
13
{
14
  A a;
15
  #pragma omp task firstprivate (a)
16
    a.foo();
17
  return 0;
18
}

powered by: WebSVN 2.1.0

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