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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/35337
2
// { dg-do compile }
3
// { dg-options "-fopenmp" }
4
 
5
struct A { };
6
 
7
void
8
foo ()
9
{
10
#pragma omp parallel firstprivate(A)    // { dg-error "struct A\[^\n\]*is not a variable" }
11
  ;
12
}
13
 
14
void
15
bar ()
16
{
17
#pragma omp for lastprivate(A)          // { dg-error "struct A\[^\n\]*is not a variable" }
18
  for (int i = 0; i < 10; i++)
19
    ;
20
}

powered by: WebSVN 2.1.0

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