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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [master-1.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
extern void bar(int);
4
 
5
void foo (void)
6
{
7
  #pragma omp master
8
    bar(0);
9
 
10
  #pragma omp master
11
  {
12
    bar(1);
13
    bar(2);
14
  }
15
 
16
  /* Yes, this is legal -- structured-block contains statement contains
17
     openmp-construct contains master-construct.  */
18
  #pragma omp master
19
  #pragma omp master
20
  #pragma omp master
21
    ;
22
}

powered by: WebSVN 2.1.0

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