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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr35244.c] - Rev 689

Compare with Previous | Blame | View Log

/* PR c++/35244 */
/* { dg-do compile } */
/* { dg-require-effective-target tls } */
/* { dg-options "-fopenmp" } */
 
int v1;
typedef struct A A;
typedef int i;
#pragma omp threadprivate (i)	/* { dg-error "expected identifier before" } */
#pragma omp threadprivate (A)	/* { dg-error "expected identifier before" } */
#pragma omp threadprivate (v1)
 
void foo ()
{
  static int v4;
  {
    static int v5;
#pragma omp threadprivate (v4, v5)
  }
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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