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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/37189
2
// { dg-do compile }
3
// { dg-options "-fopenmp" }
4
 
5
struct S
6
{
7
  S () {}
8
  S (S const &) {}
9
};
10
 
11
struct T
12
{
13
  S s;
14
};
15
 
16
void
17
bar (T &)
18
{
19
}
20
 
21
int
22
foo ()
23
{
24
  T t;
25
  #pragma omp task
26
    bar (t);
27
}

powered by: WebSVN 2.1.0

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