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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
#define p       parallel
4
#define s(x)    shared(x##1, x##2)
5
#define d(x)    default(x)
6
 
7
void bar(int, int, int, int);
8
void foo(void)
9
{
10
  int a1, a2, b1, b2;
11
 
12
  #pragma omp p s(a) s(b) d(none)
13
    bar(a1, a2, b1, b2);
14
}

powered by: WebSVN 2.1.0

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