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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr35244.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR c++/35244 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target tls_native } */
4
/* { dg-options "-fopenmp" } */
5
 
6
int v1;
7
typedef struct A A;
8
typedef int i;
9
#pragma omp threadprivate (i)   /* { dg-error "expected identifier before" } */
10
#pragma omp threadprivate (A)   /* { dg-error "expected identifier before" } */
11
#pragma omp threadprivate (v1)
12
 
13
void foo ()
14
{
15
  static int v4;
16
  {
17
    static int v5;
18
#pragma omp threadprivate (v4, v5)
19
  }
20
}

powered by: WebSVN 2.1.0

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